27 constexpr T
abs(T value);
35 template<std::
integral T>
36 constexpr
bool is_odd(T val);
44 template<std::
integral T>
56 constexpr
int gcd(
int nFirst,
int nSecond);
65 constexpr
int lcm(
int nFirst,
int nSecond);
80 constexpr
double pow(T number,
int nPower);
88 template<std::
integral I>
constexpr int lcm(int nFirst, int nSecond)
Least common multiple.
I maxpot(I nValue)
Max power of two in integer.
constexpr bool is_odd(T val)
Check if value is odd.
constexpr T abs(T value)
Constexpr absolute value.
constexpr bool is_even(T val)
Check if value is even.
constexpr double pow(T number, int nPower)
Power function for integer power.
constexpr int gcd(int nFirst, int nSecond)
Greatest common divisor.