Go to the source code of this file.
Definition at line 4 of file pow_constexpr_test.cc.
6 static_assert(cet::pow<2>(3) == 9);
7 static_assert(cet::pow<3>(2) == 8);
8 static_assert(cet::pow<2>(0.5) == 0.25);
9 static_assert(cet::pow<1>(0.0
f) == 0.0);
constexpr T diff_of_squares(T x, T y)
constexpr T sum_of_squares(T x, T y)