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

◆ ceil_constexpr()

int fl::ceil_constexpr ( float value)
constexpr

Definition at line 287 of file math.h.

287 {
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}
constexpr int type_rank< T >::value

References FL_NOEXCEPT, and type_rank< T >::value.

Referenced by calculateCorkscrewHeight(), and calculateCorkscrewWidth().

+ Here is the caller graph for this function: