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

◆ operator()() [1/13]

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

Definition at line 474 of file types.h.

474 {
475 // Use float literals (1.0f / 0.0f), not double (1.0 / 0.0), to avoid
476 // pulling the soft-double helpers. See FastLED #3076.
477 result = static_cast<FloatType>(value ? 1.0f : 0.0f);
478 }
fl::optional< double > result
Definition types.h:553