Definition at line 221 of file u16x16.h.
221 {
224 if (msb < 0)
return u16x16();
225
230 } else {
232 }
233
234
235
236 constexpr int IFRAC = 24;
237 constexpr u64 c0 = 24189248ULL;
238 constexpr u64 c1 = 5049984ULL;
239
240
242
243
244 u64 acc = c0 + ((c1 * t24) >> IFRAC);
245 u64 frac_part = (acc * t24) >> IFRAC;
246
247
248 u32 frac16 =
static_cast<u32
>(frac_part >> (IFRAC -
FRAC_BITS));
250 }
static constexpr FASTLED_FORCE_INLINE int highest_bit(u32 v) FL_NOEXCEPT
constexpr u16x16() FL_NOEXCEPT=default
static constexpr FASTLED_FORCE_INLINE u16x16 from_raw(u32 raw) FL_NOEXCEPT
static constexpr i32 SCALE
static constexpr int FRAC_BITS
References u16x16(), FASTLED_FORCE_INLINE, FL_NOEXCEPT, FRAC_BITS, from_raw(), highest_bit(), SCALE, fl::t, and fl::x.
Referenced by pow().