FastLED 3.10.8
Loading...
Searching...
No Matches

◆ operator/()

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

Definition at line 70 of file u8x24.h.

70 {
71 return from_raw(static_cast<u32>(
72 (static_cast<u64>(mValue) * (static_cast<u64>(1) << FRAC_BITS)) / b.mValue));
73 }
static constexpr int FRAC_BITS
Definition u8x24.h:22
static constexpr FASTLED_FORCE_INLINE u8x24 from_raw(u32 raw) FL_NO_EXCEPT
Definition u8x24.h:53
u32 mValue
Definition u8x24.h:184
fl::u64 u64
Definition stdint.h:220

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

+ Here is the call graph for this function: