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

◆ operator/()

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

Definition at line 70 of file s8x24.h.

70 {
71 return from_raw(static_cast<i32>(
72 (static_cast<i64>(mValue) * (static_cast<i64>(SCALE))) / b.mValue));
73 }
static constexpr i32 SCALE
Definition s8x24.h:23
static constexpr FASTLED_FORCE_INLINE s8x24 from_raw(i32 raw) FL_NOEXCEPT
Definition s8x24.h:53
i32 mValue
Definition s8x24.h:299
fl::i64 i64
Definition s16x16x4.h:222

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

+ Here is the call graph for this function: