xieite ::factorial <>
Defined in fragment xieite :factorial
(header-only:
<xieite/math/factorial.hpp>
)
A lookup table, generated at compile-time, containing all representable factorial values for some arithmetic type.
Declaration
template <xieite ::is_arith T >constexpr auto factorial =/* std::array<T, ???> */
Example
Output:import std ;import xieite ;int main () {std ::" ,{} ! ={} "7 ,xieite ::factorial .at (7 )); }
7! = 5040