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

◆ min()

FL_DISABLE_WARNING_PUSH U constexpr common_type_t< T, U > fl::min ( T a,
U b )
inlineconstexpr

Memory functions are available in fl:: namespace via fl/stl/cstring.h Using declarations cannot work because system headers define memset/memcpy/memmove before FastLED.h is fully processed, causing signature conflicts even though fl::size and size_t refer to the same underlying type.

Use fl::memset, fl::memcpy, fl::memmove directly

Definition at line 71 of file math.h.

71 {
72 return (a < b) ? a : b;
73}

Referenced by FL_DISABLE_WARNING(), fl::numeric_limits< int >::lowest(), fl::numeric_limits< long >::lowest(), fl::numeric_limits< long long >::lowest(), fl::numeric_limits< short >::lowest(), processWaveAutoTrigger(), random16(), and random8().

+ Here is the caller graph for this function: