4 ms·
But that’s weird, as 9! is just 360,000, 6 digits in decimal. Assuming a pocket calculator has 8 digits, it would overflow only if the starting number was arou
by lynguist 4y ago
But that’s weird, as 9! is just 360,000, 6 digits in decimal.
Assuming a pocket calculator has 8 digits, it would overflow only if the starting number was around 300. Was it like that?
- dwringer 4y agoI believe the answer is already in the comment to which you've replied: > they chose the numbers big enough to result in [...] overflows