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

◆ operator/()

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

Definition at line 58 of file u12x4.h.

58 {
59 return from_raw(static_cast<u16>(
60 (static_cast<u32>(mValue) * (static_cast<u32>(1) << FRAC_BITS)) / b.mValue));
61 }
static constexpr int FRAC_BITS
Definition u12x4.h:21
static constexpr FASTLED_FORCE_INLINE u12x4 from_raw(u16 raw) FL_NOEXCEPT
Definition u12x4.h:41
u16 mValue
Definition u12x4.h:202

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

+ Here is the call graph for this function: