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

◆ operator/()

FASTLED_FORCE_INLINE s4x12 fl::s4x12::operator/ ( s4x12 b) const
inlineconstexpr

Definition at line 70 of file s4x12.h.

70 {
71 return from_raw(static_cast<i16>(
72 (static_cast<i32>(mValue) * (SCALE)) / b.mValue));
73 }
static constexpr i32 SCALE
Definition s4x12.h:23
static constexpr FASTLED_FORCE_INLINE s4x12 from_raw(i16 raw) FL_NOEXCEPT
Definition s4x12.h:53
i16 mValue
Definition s4x12.h:301

References s4x12(), FASTLED_FORCE_INLINE, FL_NOEXCEPT, from_raw(), mValue, and SCALE.

+ Here is the call graph for this function: