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

◆ operator/()

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

Definition at line 70 of file u8x8.h.

70 {
71 return b.mValue == 0 ? u8x8() : from_raw(static_cast<u16>(
72 (static_cast<u32>(mValue) * (static_cast<u32>(1) << FRAC_BITS)) / b.mValue));
73 }
static constexpr int FRAC_BITS
Definition u8x8.h:22
static constexpr FASTLED_FORCE_INLINE u8x8 from_raw(u16 raw) FL_NOEXCEPT
Definition u8x8.h:53
u16 mValue
Definition u8x8.h:191
constexpr u8x8() FL_NOEXCEPT=default

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

+ Here is the call graph for this function: