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

◆ operator/=()

FASTLED_FORCE_INLINE u12x4 & fl::u12x4::operator/= ( u12x4 b)
inline

Definition at line 97 of file u12x4.h.

97 {
98 mValue = static_cast<u16>(
99 (static_cast<u32>(mValue) * (static_cast<u32>(1) << FRAC_BITS)) / b.mValue);
100 return *this;
101 }
static constexpr int FRAC_BITS
Definition u12x4.h:21
u16 mValue
Definition u12x4.h:202

References u12x4(), FASTLED_FORCE_INLINE, FL_NOEXCEPT, FRAC_BITS, and mValue.

+ Here is the call graph for this function: