4 ms·
It's 2^53 (9 quadrillion). Math.pow(2, 53) === Math.pow(2, 53) + 1 // true Math.pow(2, 53) === Math.pow(2, 53) - 1 // false
by ahoge 14y ago
It's 2^53 (9 quadrillion).
Math.pow(2, 53) === Math.pow(2, 53) + 1 // true
Math.pow(2, 53) === Math.pow(2, 53) - 1 // false
- mikeash 14y agoYep, remembered "53" but then misremembered it as the number of mantissa bits.