Re:Get Started with Rust, WebAssembly, and Webpack
by Franciscouzo on Tuesday June 27, 2017 @01:12PM
(#14647218)
IEEE 754 double precision floats have enough precision to represent every 32 bit integer, the problem is when you try to use them to represent 64 bit integers, you get problems such as this: https://github.com/nodejs/node/issues/12115
[ Parent
| on HN ]
Re:Get Started with Rust, WebAssembly, and Webpack
by bpicolo on Tuesday June 27, 2017 @01:13PM
(#14647237)
My question is: what happens when you pass something that's not an integer to the rust lib code via this?
Re:Get Started with Rust, WebAssembly, and Webpack
by hackcasual on Tuesday June 27, 2017 @01:50PM
(#14647577)
JavaScript also has somewhat arcane rules around when Number it's actually treated like an i32