Simple, safe floating-point math for node and the browser