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

◆ _highest_bit_step()

static constexpr int fl::s16x16::_highest_bit_step ( u32 v,
int r )
inlinestaticconstexprprivate

Definition at line 371 of file s16x16.h.

371 {
372 return (v & 0xFFFF0000u) ? _highest_bit_step(v >> 16, r + 16)
373 : (v & 0x0000FF00u) ? _highest_bit_step(v >> 8, r + 8)
374 : (v & 0x000000F0u) ? _highest_bit_step(v >> 4, r + 4)
375 : (v & 0x0000000Cu) ? _highest_bit_step(v >> 2, r + 2)
376 : (v & 0x00000002u) ? r + 1
377 : r;
378 }
static constexpr int _highest_bit_step(u32 v, int r) FL_NO_EXCEPT
Definition s16x16.h:371

References _highest_bit_step(), and fl::FL_NO_EXCEPT.

Referenced by _highest_bit_step(), and highest_bit().

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