FastLED 3.9.15
Loading...
Searching...
No Matches

◆ almost_equal() [2/3]

bool fl::almost_equal ( float a,
float b )
inline

Definition at line 94 of file math.h.

94 {
95 return fl::abs(a - b) < FL_EPSILON_F;
96}
#define FL_EPSILON_F
Definition math.h:38
constexpr enable_if< is_fixed_point< T >::value, T >::type abs(T x) FL_NOEXCEPT

References abs(), FL_EPSILON_F, and FL_NOEXCEPT.

+ Here is the call graph for this function: