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