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

◆ expfp()

template<typename T>
enable_if< is_fixed_point< T >::value, T >::type fl::expfp ( T x)
inline

Definition at line 633 of file fixed_point.h.

633 {
634 static const T e_val(static_cast<float>(FL_E));
635 return powfp(e_val, x);
636}
#define FL_E
Definition math.h:30
enable_if< is_fixed_point< T >::value, T >::type powfp(T base, T exp) FL_NOEXCEPT

References FL_E, FL_NOEXCEPT, powfp(), and x.

Referenced by exp().

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