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

◆ lround_impl_double()

long fl::lround_impl_double ( double value)

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

372 {
373#if FL_MATH_USE_LIBM
374 return ::lround(value);
375#else
376 if (value >= 0.0) return static_cast<long>(value + 0.5);
377 return static_cast<long>(value - 0.5);
378#endif
379}
constexpr int type_rank< T >::value

References type_rank< T >::value.

Referenced by lround(), and round_impl_double().

+ Here is the caller graph for this function: