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

◆ _highest_bit_step()

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

Definition at line 208 of file u16x16.h.

208 {
209 return (v & 0xFFFF0000u) ? _highest_bit_step(v >> 16, r + 16)
210 : (v & 0x0000FF00u) ? _highest_bit_step(v >> 8, r + 8)
211 : (v & 0x000000F0u) ? _highest_bit_step(v >> 4, r + 4)
212 : (v & 0x0000000Cu) ? _highest_bit_step(v >> 2, r + 2)
213 : (v & 0x00000002u) ? r + 1
214 : r;
215 }
static constexpr int _highest_bit_step(u32 v, int r) FL_NOEXCEPT
Definition u16x16.h:208

References _highest_bit_step(), and FL_NOEXCEPT.

Referenced by _highest_bit_step(), and highest_bit().

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