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

◆ round_impl_float()

float fl::round_impl_float ( float value)

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

466 {
467#if FL_MATH_USE_LIBM
468 return ::roundf(value);
469#else
470 return static_cast<float>(lround_impl_float(value));
471#endif
472}
constexpr int type_rank< T >::value
long lround_impl_float(float value) FL_NO_EXCEPT
Definition math.cpp.hpp:445

References FL_NO_EXCEPT, 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: