| 88 | |
| 89 | template <typename T, typename U> |
| 90 | constexpr inline bool almost_equal(T a, T b, U tolerance) FL_NOEXCEPT { |
| 91 | return fl::abs(a - b) < tolerance; |
| 92 | } |
| 93 | |
| 94 | inline bool almost_equal(float a, float b) FL_NOEXCEPT { |
| 95 | return fl::abs(a - b) < FL_EPSILON_F; |
no test coverage detected