3 ms·
But 3.9999999..... === 4. It is literally the same number.
by 0x0 6y ago
But 3.9999999..... === 4. It is literally the same number.
- wtallis 6y agoYour floating-point calculator won't give you infinite trailing nines, but it may very well give you something like 3.99999976158 (approximately the largest float below exactly 4) or 3.99999999999999955591 (approximately the largest double below 4).