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

◆ operator*() [2/2]

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

Definition at line 54 of file s12x4.h.

54 {
55 return from_raw(static_cast<i16>(
56 (static_cast<i32>(mValue) * b.mValue) >> FRAC_BITS));
57 }
static constexpr int FRAC_BITS
Definition s12x4.h:22
i16 mValue
Definition s12x4.h:290
static constexpr FASTLED_FORCE_INLINE s12x4 from_raw(i16 raw) FL_NOEXCEPT
Definition s12x4.h:42

References s12x4(), FASTLED_FORCE_INLINE, FL_NOEXCEPT, FRAC_BITS, from_raw(), and mValue.

+ Here is the call graph for this function: