3#ifndef pRC_CORE_BASIC_FUNCTIONS_IS_POWER_OF_TWO_H
4#define pRC_CORE_BASIC_FUNCTIONS_IS_POWER_OF_TWO_H
10 template<
class T, If<IsIntegral<T>> = 0>
13 return (
v > 0) && !(
v & (
v -
T(1)));
pRC::Float<> T
Definition externs_nonTT.hpp:1
Definition cholesky.hpp:18
static constexpr auto makeConstantSequence()
Definition sequence.hpp:402
static constexpr auto isPowerOfTwo(T const v)
Definition is_power_of_two.hpp:11