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

◆ operator*() [2/3]

FASTLED_FORCE_INLINE s0x32 fl::s0x32::operator* ( s0x32 b) const
inlineconstexpr

Definition at line 99 of file s0x32.h.

99 {
100 // Q31 × Q31 = Q62 → shift right 31 → Q31
101 return from_raw(static_cast<i32>(
102 (static_cast<i64>(mValue) * b.mValue) >> 31));
103 }
static constexpr FASTLED_FORCE_INLINE s0x32 from_raw(i32 raw) FL_NOEXCEPT
Definition s0x32.h:66
i32 mValue
Definition s0x32.h:174
fl::i64 i64
Definition s16x16x4.h:222

References s0x32(), FASTLED_FORCE_INLINE, FL_NOEXCEPT, from_raw(), and mValue.

+ Here is the call graph for this function: