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

◆ _icbrt64_step()

FL_OPTIMIZE_FUNCTION constexpr u32 fl::_icbrt64_step ( u64 x,
u64 y,
u64 y2,
int s )
inlineconstexpr

Definition at line 33 of file icbrt.h.

33 {
34 return s < 0
35 ? static_cast<u32>(y)
36 : ((x >> s) >= 3 * ((y2 << 2) + (y << 1)) + 1)
37 ? _icbrt64_step(x - ((3 * ((y2 << 2) + (y << 1)) + 1) << s),
38 (y << 1) + 1,
39 (y2 << 2) + (y << 2) + 1,
40 s - 3)
41 : _icbrt64_step(x, y << 1, y2 << 2, s - 3);
42}
FL_OPTIMIZE_FUNCTION constexpr u32 _icbrt64_step(u64 x, u64 y, u64 y2, int s) FL_NO_EXCEPT
Definition icbrt.h:33

References _icbrt64_step(), FL_NO_EXCEPT, FL_OPTIMIZE_FUNCTION, x, and y.

Referenced by _icbrt64_step(), and icbrt64().

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