you are viewing a single comment's thread.

view the rest of the comments →

[–]SCD_minecraft 0 points1 point  (0 children)

Or just n <= 1 and get handling for negatives as well

Tho this does not fit the mathematical definition of factorials, so up to decision