pub fn real(r: f64) -> String
r as a Part 21 real, which needs a decimal point and an upper-case exponent: 1.0, -0.25, 1.5E-7. Written as the shortest text that reads back to exactly r.
r
1.0
-0.25
1.5E-7