| 5181 | // fire. Excludes u-types since their log2_fp doesn't support base < 1.0. |
| 5182 | template <typename FP> |
| 5183 | static void test_pow_well_below_one_signed_impl() { |
| 5184 | const FP half(0.5f); |
| 5185 | const FP two(2.0f); |
| 5186 | const FP one(1.0f); |
| 5187 | FL_CHECK(FP::pow(half, two).raw() < one.raw()); |
| 5188 | } |
| 5189 | |
| 5190 | // For unsigned types: pow(2.0, 0.5) approx 1.414 -- well above 1.0, snap must NOT |
| 5191 | // fire (it only triggers on base near 1.0, not on result). |