pub fn general<T: FixedValue>(value: T) -> General<T>Expand description
Wraps a floating-point primitive for C printf-compatible g formatting.
Rust has no native general floating-point conversion, so this wrapper is
required for every %g, %lg, or intended binary128 %Lg conversion. See
the module documentation for paired Rust and C examples of every
supported type, precision, and flag.