| 664 | |
| 665 | template<typename T> |
| 666 | void test_atan_impl(float atan_max) { |
| 667 | FL_CHECK_CLOSE(T::atan(T(1.0f)).to_float(), 0.7854f, atan_max); |
| 668 | FL_CHECK_CLOSE(T::atan(T(0.0f)).to_float(), 0.0f, atan_max); |
| 669 | FL_CHECK_CLOSE(T::atan(T(-1.0f)).to_float(), -0.7854f, atan_max); |
| 670 | } |
| 671 | |
| 672 | template<typename T> |
| 673 | void test_atan2_impl(float atan2_max) { |