Skip to main content

Module floats

Module floats 

Source
Expand description

A frame’s lists of floats, four at a time: whether a list of f64 is f32 exactly (then it’s kept as f32s, half the bytes), the narrowing and the widening back — AVX2 where the processor has it, chosen once; the same bytes either way.

Functions§

fits_f32
Whether every one of items is an f32 exactly.
put_f32s
f32s as they are onto out.
put_narrow
items as f32s onto out.
put_wide
items as they are onto out: written once, with no zeroing first.
widen
The f32s of raw as f64s.