Definition at line 230 of file u16x16.h.
230 {
233 if (msb < 0)
return u16x16();
234
239 } else {
241 }
242
243
244
245 constexpr int IFRAC = 24;
246 constexpr u64 c0 = 24189248ULL;
247 constexpr u64 c1 = 5049984ULL;
248
249
251
252
253 u64 acc = c0 + ((c1 * t24) >> IFRAC);
254 u64 frac_part = (acc * t24) >> IFRAC;
255
256
257 u32 frac16 =
static_cast<u32
>(frac_part >> (IFRAC -
FRAC_BITS));
259 }
static constexpr FASTLED_FORCE_INLINE u16x16 from_raw(u32 raw) FL_NO_EXCEPT
constexpr u16x16() FL_NO_EXCEPT=default
static constexpr FASTLED_FORCE_INLINE int highest_bit(u32 v) FL_NO_EXCEPT
static constexpr i32 SCALE
static constexpr int FRAC_BITS
References u16x16(), FASTLED_FORCE_INLINE, fl::FL_NO_EXCEPT, FRAC_BITS, from_raw(), highest_bit(), SCALE, fl::t, and fl::x.
Referenced by pow().