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

◆ ceil_constexpr()

int fl::ceil_constexpr ( float value)
constexpr

Definition at line 65 of file math.h.

65 {
66 return static_cast<int>((value > static_cast<float>(static_cast<int>(value)))
67 ? static_cast<int>(value) + 1
68 : static_cast<int>(value));
69}

Referenced by calculateCorkscrewHeight(), and calculateCorkscrewWidth().

+ Here is the caller graph for this function: