xte ::factorial <>
Defined in header <xte/math/factorial.hpp> A lookup table containing all representable factorial values for some numeric type.
Definition
template <xte ::is_number T >constexpr auto factorial =std ::define_static_array (/* ??? */ );
Example
Output:std ::println ("7! = ,{} "xte ::factorial <int >[7 ]);
[View in Compiler Explorer]7! = 5040