4 ms·
Haskell has arbitrary precision. JavaScript has fixed precision.
by phamilton 6y ago
Haskell has arbitrary precision.
JavaScript has fixed precision.
- mumblemumble 6y agoWell, they both have both. More or less. Haskell has Integer for arbitrary and int for fixed precision integers, for example. JavaScript has arbitrary precision integers (via BigInt), and fixed precision floats.