| 5191 | // fire (it only triggers on base near 1.0, not on result). |
| 5192 | template <typename FP> |
| 5193 | static void test_pow_above_one_unsigned_impl() { |
| 5194 | const FP two(2.0f); |
| 5195 | const FP half(0.5f); |
| 5196 | const FP one(1.0f); |
| 5197 | FL_CHECK(FP::pow(two, half).raw() > one.raw()); |
| 5198 | } |
| 5199 | |
| 5200 | FL_TEST_CASE("pow boundary - exactly 1.0 (#2969)") { |
| 5201 | FL_SUBCASE("s16x16") { test_pow_exactly_one_impl<s16x16>(); } |