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

Function mod

src/fl/math/fixed_point.h:517–518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515// Remainder: fl::mod(FP(5.5f), FP(2.0f)) → 1.5
516template <typename T>
517inline constexpr typename enable_if<is_fixed_point<T>::value, T>::type
518mod(T a, T b) FL_NOEXCEPT { return T::mod(a, b); }
519
520// ---- Absolute value / sign ----
521

Callers 4

rainbowMethod · 0.85
modMethod · 0.85
constexpr_mod_checkFunction · 0.85
FL_TEST_FILEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected