FastLED 3.10.6
Loading...
Searching...
No Matches

◆ soft_floor_log2_u64()

int fl::detail::soft_floor_log2_u64 ( u64 value)
inline

Definition at line 73 of file soft_float.h.

73 {
74 int bit = -1;
75 while (value != 0) {
76 value >>= 1;
77 ++bit;
78 }
79 return bit;
80}
constexpr int type_rank< T >::value

References fl::FL_NO_EXCEPT, and fl::type_rank< T >::value.

Referenced by json_floor_log2_u64(), and soft_float_bits_from_scaled_u64().

+ Here is the caller graph for this function: