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

◆ log2_fp()

i32 fl::detail::gamma_constexpr::log2_fp ( u32 val)
constexpr

Definition at line 110 of file gamma_lut.h.

110 {
111 return val == 0 ? static_cast<i32>(0x80000000)
112 : log2_with_msb(val, highest_bit(val));
113}
constexpr int highest_bit(u32 v) FL_NOEXCEPT
Definition gamma_lut.h:71
constexpr i32 log2_with_msb(u32 val, int msb) FL_NOEXCEPT
Definition gamma_lut.h:101

References FL_NOEXCEPT, highest_bit(), and log2_with_msb().

Referenced by pow_fp().

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