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

◆ operator/()

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

Definition at line 69 of file u4x12.h.

69 {
70 return from_raw(static_cast<u16>(
71 (static_cast<u32>(mValue) * (static_cast<u32>(1) << FRAC_BITS)) / b.mValue));
72 }
u16 mValue
Definition u4x12.h:189
static constexpr int FRAC_BITS
Definition u4x12.h:21
static constexpr FASTLED_FORCE_INLINE u4x12 from_raw(u16 raw) FL_NOEXCEPT
Definition u4x12.h:52

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

+ Here is the call graph for this function: