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

◆ soft_double_to_float()

float fl::soft_double_to_float ( double value)
inline

Definition at line 182 of file soft_float.h.

182 {
183 if (sizeof(double) == sizeof(u32)) {
185 }
186 const u32 narrowed_bits =
188 return detail::soft_bit_copy<float>(narrowed_bits);
189}
To soft_bit_copy(const From &value) FL_NO_EXCEPT
Definition soft_float.h:47
constexpr int type_rank< T >::value
u32 soft_float_bits_from_double_bits(u64 bits) FL_NO_EXCEPT
Definition soft_float.h:132

References FL_NO_EXCEPT, fl::detail::soft_bit_copy(), soft_float_bits_from_double_bits(), and type_rank< T >::value.

Referenced by fl::detail::json_double_to_float().

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