FastLED 3.10.8
Loading...
Searching...
No Matches

◆ operator/()

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

Definition at line 59 of file s12x4.h.

59 {
60 return from_raw(static_cast<i16>(
61 (static_cast<i32>(mValue) * (SCALE)) / b.mValue));
62 }
static constexpr FASTLED_FORCE_INLINE s12x4 from_raw(i16 raw) FL_NO_EXCEPT
Definition s12x4.h:42
i16 mValue
Definition s12x4.h:290
static constexpr i32 SCALE
Definition s12x4.h:23

References s12x4(), FASTLED_FORCE_INLINE, fl::FL_NO_EXCEPT, from_raw(), mValue, and SCALE.

+ Here is the call graph for this function: