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

◆ operator/()

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

Definition at line 85 of file s16x16.h.

85 {
86 return from_raw(static_cast<i32>(
87 (static_cast<i64>(mValue) * (static_cast<i64>(SCALE))) / b.mValue));
88 }
static constexpr i32 SCALE
Definition s16x16.h:23
static constexpr FASTLED_FORCE_INLINE s16x16 from_raw(i32 raw) FL_NOEXCEPT
Definition s16x16.h:54
i32 mValue
Definition s16x16.h:320
fl::i64 i64
Definition s16x16x4.h:222

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

+ Here is the call graph for this function: