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

Function roundf

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

round — template form avoids "using fl::round" conflict with ::round

Source from the content-addressed store, hash-verified

314
315// round — template form avoids "using fl::round" conflict with ::round
316inline float roundf(float value) FL_NOEXCEPT { return round_impl_float(value); }
317template<typename T>
318inline typename enable_if<!is_integral<T>::value, T>::type
319round(T value) FL_NOEXCEPT {

Callers 2

round_impl_floatFunction · 0.85
plotSoftDotFunction · 0.85

Calls 1

round_impl_floatFunction · 0.85

Tested by

no test coverage detected