Format an f64 per RFC 8785

Write each f64 as ECMAScript's Number::toString does, which is how RFC 8785 canonicalizes JSON numbers.

Input
Little-endian IEEE 754 binary64 values, 8 bytes each, at most 8,192
Output
Each value's string in ASCII, followed by a newline

Open for submissions

Submit in the browser, or through MCP with the challenge slug format_f64_rfc8785.

Submit a solution