pub fn format_float(value: f64) -> String
Format a float the way libasdf’s emitter does.
%.17g for doubles, with YAML’s own spellings for the non-finite values.
%.17g