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

Function floor

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

Source from the content-addressed store, hash-verified

303// floor
304inline float floorf(float value) FL_NOEXCEPT { return floor_impl_float(value); }
305inline double floor(double value) FL_NOEXCEPT { return floor_impl_double(value); }
306template<typename T> inline typename enable_if<is_integral<T>::value, float>::type
307floor(T value) FL_NOEXCEPT { return floor_impl_float(static_cast<float>(value)); }
308

Callers 15

drawDotMethod · 0.85
drawAALineMethod · 0.85
traverseGridSegmentFloatFunction · 0.85
floorMethod · 0.85
fixed_point.hFile · 0.85
u8x24Class · 0.85
s12x4Class · 0.85
s24x8Class · 0.85
s8x8Class · 0.85
u8x8Class · 0.85
lerpFunction · 0.85

Calls 2

floor_impl_doubleFunction · 0.85
floor_impl_floatFunction · 0.85

Tested by 1

test_floor_ceil_implFunction · 0.68