On Thursday, 20 August 2015 at 21:11:07 UTC, anonymous wrote:
I severely limited the range of integer. I don't know off the top of my head how large you can make it without hitting overflow.

I removed the file writing, because I'm not sure if you want to write it only when it doesn't exist, or only overwrite when it does exist.

with integer == 66 the factorial overflows and becomes 0 (on my machine) => integer division by 0...
The overflow happens at lower values, too.

Reply via email to