FastLED 3.10.6
Loading...
Searching...
No Matches

◆ isqrt64()

FL_OPTIMIZE_FUNCTION constexpr u32 fl::isqrt64 ( u64 x)
inlineconstexpr

Definition at line 58 of file isqrt.h.

58 {
59 return x == 0 ? u32(0)
60 : _isqrt64_step(x, 0, _isqrt64_start(x, u64(1) << 62));
61}
FL_OPTIMIZE_FUNCTION constexpr u32 _isqrt64_step(u64 x, u64 result, u64 bit) FL_NO_EXCEPT
Definition isqrt.h:33
FL_OPTIMIZE_FUNCTION constexpr u64 _isqrt64_start(u64 x, u64 bit) FL_NO_EXCEPT
Definition isqrt.h:29
fl::u64 u64
Definition stdint.h:220

References _isqrt64_start(), _isqrt64_step(), FL_NO_EXCEPT, FL_OPTIMIZE_FUNCTION, and x.

Referenced by fl::s16x16::sqrt(), fl::s24x8::sqrt(), fl::s8x24::sqrt(), fl::u16x16::sqrt(), fl::u24x8::sqrt(), fl::u8x24::sqrt(), and fl::fixed_point_base< Derived, IntBits, FracBits >::sqrt_impl().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: