Variable factorial_table¶
variable factorial_table math¶
constexpr inline uint64_t factorial_table[21] = {
1,
1,
2,
6,
24,
120,
720,
5040,
40320,
362880,
3628800,
39916800,
479001600,
6227020800,
87178291200,
1307674368000,
20922789888000,
355687428096000,
6402373705728000,
121645100408832000,
2432902008176640000,
} Lookup table of exact factorial values for 0 <= n <= 20.
factorial_table[n] equals n! for n in [0, 20]. Values above 20! no longer fit in uint64_t.
Fully qualified name: kfr::factorial_table
Declared at math/gamma.hpp:70
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.