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

◆ operator/()

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

Definition at line 69 of file u24x8.h.

69 {
70 return from_raw(static_cast<u32>(
71 (static_cast<u64>(mValue) * (static_cast<u64>(1) << FRAC_BITS)) / b.mValue));
72 }
static constexpr FASTLED_FORCE_INLINE u24x8 from_raw(u32 raw) FL_NOEXCEPT
Definition u24x8.h:52
u32 mValue
Definition u24x8.h:188
static constexpr int FRAC_BITS
Definition u24x8.h:21
fl::u64 u64
Definition s16x16x4.h:221

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

+ Here is the call graph for this function: