pub fn float_repr(f: f64) -> String
repr(float): shortest round-trip digits, fixed notation when the decimal exponent is in -4..16, otherwise d.ddde±XX with a two-digit minimum exponent. Integral values keep a .0.
repr(float)
-4..16
d.ddde±XX
.0