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

◆ highest_bit()

template<typename Derived, int IntBits, int FracBits>
static constexpr FASTLED_FORCE_INLINE int fl::fixed_point_base< Derived, IntBits, FracBits >::highest_bit ( u32 v)
inlinestaticconstexprprivate

Definition at line 327 of file base.h.

327 {
328 return v == 0 ? -1 : _highest_bit_step(v, 0);
329 }
static constexpr int _highest_bit_step(u32 v, int r)
Definition base.h:331

References _highest_bit_step(), and FASTLED_FORCE_INLINE.

Referenced by log2_fp().

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