MCPcopy Create free account
hub / github.com/FastLED/FastLED / equals

Function equals

src/fl/math/math.h:167–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165
166// Equality comparison helpers
167template <typename T> bool equals(T a, T b) FL_NOEXCEPT { return a == b; }
168inline bool equals(float a, float b) FL_NOEXCEPT { return fl::almost_equal(a, b); }
169inline bool equals(double d, double d2) FL_NOEXCEPT { return fl::almost_equal(d, d2); }
170

Callers 1

math.hFile · 0.70

Calls 1

almost_equalFunction · 0.85

Tested by

no test coverage detected