FastLED 3.9.15
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 FASTLED_FORCE_INLINE u8x24 from_raw(u32 raw) FL_NOEXCEPT
Definition u8x24.h:53
static constexpr int FRAC_BITS
Definition u8x24.h:22
u32 mValue
Definition u8x24.h:184
fl::u64 u64
Definition s16x16x4.h:221

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

+ Here is the call graph for this function: