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

◆ operator/()

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

Definition at line 70 of file s24x8.h.

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

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

+ Here is the call graph for this function: