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

◆ round_impl_float()

float fl::round_impl_float ( float value)

Definition at line 384 of file math.cpp.hpp.

384 {
385#if FL_MATH_USE_LIBM
386 return ::roundf(value);
387#else
388 return static_cast<float>(lround_impl_float(value));
389#endif
390}
constexpr int type_rank< T >::value
long lround_impl_float(float value)
Definition math.cpp.hpp:363

References lround_impl_float(), and type_rank< T >::value.

Referenced by round(), and roundf().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: