Expand description
Factorial.
See the book entry The gamma function and related functions.
Constants§
- MAX_
U64_ FACTORIAL - Largest
nfor whichn!fits in au64.
Functions§
- factorial
- Returns
n!. - factorial_
checked - Returns
n!if it fits in au64, otherwiseNone. - factorial_
f64 - Returns
n!as anf64(infinite forn > 170). - ln_
factorial - Returns
ln(n!).