FastLED 3.10.8
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 441 of file math.h.

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

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

+ Here is the call graph for this function: