MCPcopy Create free account
hub / github.com/FastLED/FastLED / lround

Function lround

src/fl/math/math.h:331–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329// lround
330inline long lroundf(float value) FL_NOEXCEPT { return lround_impl_float(value); }
331inline long lround(double value) FL_NOEXCEPT { return lround_impl_double(value); }
332template<typename T> inline typename enable_if<is_integral<T>::value, long>::type
333lround(T value) FL_NOEXCEPT { return static_cast<long>(value); }
334

Callers 2

lround_impl_doubleFunction · 0.85
FL_TEST_FILEFunction · 0.85

Calls 1

lround_impl_doubleFunction · 0.85

Tested by

no test coverage detected