FastLED 3.10.8
Loading...
Searching...
No Matches

◆ operator()() [9/13]

void fl::float_conversion_visitor< double >::operator() ( const float & value)
inline

Definition at line 565 of file types.h.

565 {
566 // Widening float -> double via the integer IEEE-754 bit-codec
567 // companion to `json_double_to_float`. Even though `as_double()`
568 // is DCE'd from LowMemory builds today (per line 564 below),
569 // routing through the bit-codec means a future caller that keeps
570 // `as_double()` alive on a no-FPU target won't drag in
571 // `__aeabi_f2d`. See FastLED #3022 / #3002.
573 }
double json_float_to_double(float value) FL_NO_EXCEPT
Definition types_impl.h:44
fl::optional< double > result
Definition types.h:553

References fl::FL_NO_EXCEPT, fl::detail::json_float_to_double(), result, and fl::type_rank< T >::value.

+ Here is the call graph for this function: