write_double
function · ferroui-base · v0.5.0
fn write_double<W: Write>(w: &mut W, value: f64) -> fmt::Result
Writes value the way the reference runtime prints a double under the invariant
culture: the shortest round-trippable digits, plain notation for magnitudes in
[1e-4, 1e15), scientific notation (1E+15, 1E-05) otherwise, and
NaN / Infinity / -Infinity for the non-finite values.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.