powered by
truncated factorial to avoid stack overflow for huge values
truncfactorial(x)
truncfactorial(x), truncated factorial as min(x!,171!)
a non-negative integer number
truncfactorial(10)
Run the code above in your browser using DataLab