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::float_conversion_visitor< double >::result
fl::optional< double > result
Definition
types.h:506
fl::float_conversion_visitor
Definition
types.h:394
fl
float_conversion_visitor< double >
Generated on Tue Jun 16 2026 00:07:05 for FastLED by
1.13.2