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

Function ceil_constexpr

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

Source from the content-addressed store, hash-verified

285// ===== Constexpr helpers =====================================================
286
287constexpr int ceil_constexpr(float value) FL_NOEXCEPT {
288 return static_cast<int>((value > static_cast<float>(static_cast<int>(value)))
289 ? static_cast<int>(value) + 1
290 : static_cast<int>(value));
291}
292
293// ===== Rounding ==============================================================
294//

Callers 3

calculateCorkscrewWidthFunction · 0.85
calculateCorkscrewHeightFunction · 0.85
FL_TEST_FILEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected