Treatment saturatingToF32
std/conv::saturatingToF32
Generics
◻ T:
SaturatingToF32
Inputs
⇥ value:
Stream<T>
Outputs
↦ into:
Stream<f32>
Turns stream into f32
one, saturating if needed.
This treatment manages saturating and infaillible conversion to f32
.
If incoming data represents something out of bounds for f32
,
then the resulting value is set to the closest approximation possible.