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

◆ _isqrt64_step()

FL_OPTIMIZE_FUNCTION constexpr u32 fl::_isqrt64_step ( u64 x,
u64 result,
u64 bit )
inlineconstexpr

Definition at line 33 of file isqrt.h.

33 {
34 return bit == 0
35 ? static_cast<u32>(result)
36 : (x >= result + bit)
37 ? _isqrt64_step(x - (result + bit), (result >> 1) + bit, bit >> 2)
38 : _isqrt64_step(x, result >> 1, bit >> 2);
39}
FL_OPTIMIZE_FUNCTION constexpr u32 _isqrt64_step(u64 x, u64 result, u64 bit) FL_NOEXCEPT
Definition isqrt.h:33
expected< T, E > result
Alias for expected (Rust-style naming)
Definition result.h:31

References _isqrt64_step(), FL_NOEXCEPT, FL_OPTIMIZE_FUNCTION, and x.

Referenced by _isqrt64_step(), and isqrt64().

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