| 685 | |
| 686 | template<typename T> |
| 687 | void test_acos_impl(float acos_max) { |
| 688 | FL_CHECK_CLOSE(T::acos(T(1.0f)).to_float(), 0.0f, acos_max); |
| 689 | FL_CHECK_CLOSE(T::acos(T(0.0f)).to_float(), 1.5708f, acos_max); |
| 690 | FL_CHECK_CLOSE(T::acos(T(0.5f)).to_float(), 1.0472f, acos_max); |
| 691 | } |
| 692 | |
| 693 | template<typename T> |
| 694 | void test_sqrt_impl(float sqrt_max) { |