Crate fixed2float

Source
Expand description

Fixed point to float an vice versa conversion utility. Use the Q (Qm.n) and the VisSim (Fxm.b) notations.

Structs§

Fx
Q

Traits§

FixedPoint

Functions§

to_Fx
to_Q
to_fixed
Convert x (f64) into fixed point format (Qm.n), if possible.
to_float
Compute the real value represented by bits.
to_float_strDeprecated
Compute the real value represented by bits (str).

Type Aliases§

UInt