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

◆ log2() [2/2]

template<typename T>
enable_if< is_integral< T >::value, float >::type fl::log2 ( T value)
inline

Definition at line 433 of file math.h.

433{ return log_impl_float(static_cast<float>(value)) / log_impl_float(2.0f); }
float log_impl_float(float value)
Definition math.cpp.hpp:288
constexpr int type_rank< T >::value

References FL_NOEXCEPT, log_impl_float(), and type_rank< T >::value.

+ Here is the call graph for this function: