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

◆ operator()() [1/13]

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

Definition at line 437 of file types.h.

437 {
438 // Use float literals (1.0f / 0.0f), not double (1.0 / 0.0), to avoid
439 // pulling the soft-double helpers. See FastLED #3076.
440 result = static_cast<FloatType>(value ? 1.0f : 0.0f);
441 }
fl::optional< double > result
Definition types.h:506