| 734 | |
| 735 | template<typename T> |
| 736 | void test_pow_extended_impl(float pow_x_3_0_max) { |
| 737 | // 2^3 = 8 (only for types that can represent 8) |
| 738 | if (T::INT_BITS > 4) { |
| 739 | FL_CHECK_CLOSE(T::pow(T(2.0f), T(3.0f)).to_float(), 8.0f, pow_x_3_0_max); |
| 740 | } |
| 741 | } |
| 742 | |
| 743 | template<typename T> |
| 744 | void test_smoothstep_impl(float smoothstep_max) { |