format_f64_rfc8785
Format 64-bit floats like JavaScript’s Number.toString: use the shortest decimal that round-trips, even for subnormals and halfway ties, with RFC 8785’s exponent rules.
Fastest by language
Fastest by
@patrickgwsmith