pub fn write_binary64(x: f64, out: &mut Vec<u8>)Expand description
Write a finite binary64 (spec 004, 5.6): the shortest round-trip digits
nearest the exact value, exact ties to the larger magnitude, as Rust’s
core::fmt shortest mode gives them; plain notation for a decimal
exponent e with -5 <= e < 16 and at least one fractional digit,
otherwise d[.ddd]e+N or d[.ddd]e-N; zero as 0.0 or -0.0.