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

◆ ceil_constexpr()

int fl::ceil_constexpr ( float value)
constexpr

Definition at line 72 of file math.h.

72 {
73 return static_cast<int>((value > static_cast<float>(static_cast<int>(value)))
74 ? static_cast<int>(value) + 1
75 : static_cast<int>(value));
76}

Referenced by calculateCorkscrewHeight(), and calculateCorkscrewWidth().

+ Here is the caller graph for this function: