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

◆ exp2_fp()

u32 fl::detail::gamma_constexpr::exp2_fp ( i32 x)
constexpr

Definition at line 154 of file gamma_lut.h.

154 {
155 return x >= 0 ? exp2_pos(static_cast<u32>(x))
156 : exp2_neg(static_cast<u32>(-x));
157}
constexpr u32 exp2_pos(u32 x) FL_NOEXCEPT
Definition gamma_lut.h:136
constexpr u32 exp2_neg(u32 pos_val) FL_NOEXCEPT
Definition gamma_lut.h:146

References exp2_neg(), exp2_pos(), FL_NOEXCEPT, and fl::x.

Referenced by pow_fp().

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