Something went wrong. Try again.
javascript for 🐜's, a tiny runtime with big ambitions antjs.org
Something went wrong. Try again.
use double-conversion for JS number parsing
Add a shared number conversion layer backed by double-conversion and route Number(), parseFloat(), numeric literal parsing, and Number formatting through it. This fixes decimal precision/rounding edge cases, validates malformed decimal literals such as missing exponent digits, and handles JS string-number parsing rules more consistently.
Author
themackabu.com Date (Apr 29, 2026, 9:38 PM UTC) Commit
Copy SHA
Parent 201d063f 201d063fe28aae4c96060996b2be09c0a89fef8d