Correctness? Factorial implementation returning unexpected result

https://docs.julialang.org/en/v1/manual/faq/#faq-integer-arithmetic-1

There are a lot of threads on this topic if you search for machine integers, overflow and even factorial.

4 Likes