xte ::factorial <>
Defined in header <xte/math/factorial.hpp> A lookup table containing all representable factorial values for a given integer or floating-point type.
Definition
template <xte ::is_number T >constexpr auto factorial =std ::define_static_array (/* ... */ );
Example
[View in Compiler Explorer]static_assert (xte ::factorial <int >[7 ] ==5040 );