FastLED 3.10.8
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_NO_EXCEPT
Definition u24x8.h:52
u32 mValue
Definition u24x8.h:188
static constexpr int FRAC_BITS
Definition u24x8.h:21
fl::u64 u64
Definition stdint.h:220

References u24x8(), FASTLED_FORCE_INLINE, fl::FL_NO_EXCEPT, FRAC_BITS, from_raw(), and mValue.

+ Here is the call graph for this function: