pub fn fixed<T: FixedValue>(value: T) -> Fixed<T>Expand description
Wraps a floating-point primitive for C printf-compatible f formatting.
The wrapper supplies C’s default precision of six, exact binary128
formatting, lowercase nonfinite spelling, alternate form at precision zero,
and Fixed::space_sign. Native Rust formatting is already exact for
finite f32 and f64 values when an explicit nonzero precision is present
and none of those wrapper-only behaviors is needed. See the module
documentation for paired Rust and C examples of every supported type,
spelling, and flag.