Definition at line 208 of file u24x8.h.
208 {
211 if (msb < 0)
return u24x8();
212
217 } else {
219 }
220
221
222
223 constexpr int IFRAC = 16;
224 constexpr u64 c0 = 94528ULL;
225 constexpr u64 c1 = 19727ULL;
226
227
229
230
231 u64 acc = c0 + ((c1 * t16) >> IFRAC);
232 u64 frac_part = (acc * t16) >> IFRAC;
233
234
235 u32 frac8 =
static_cast<u32
>(frac_part >> (IFRAC -
FRAC_BITS));
237 }
static constexpr FASTLED_FORCE_INLINE u24x8 from_raw(u32 raw) FL_NOEXCEPT
constexpr u24x8() FL_NOEXCEPT=default
static constexpr FASTLED_FORCE_INLINE int highest_bit(u32 v) FL_NOEXCEPT
static constexpr i32 SCALE
static constexpr int FRAC_BITS
References u24x8(), FASTLED_FORCE_INLINE, FL_NOEXCEPT, FRAC_BITS, from_raw(), highest_bit(), SCALE, fl::t, and fl::x.
Referenced by pow().