FastLED 3.10.8
Loading...
Searching...
No Matches

◆ ceil_constexpr()

int fl::ceil_constexpr ( float value)
constexpr

Definition at line 295 of file math.h.

295 {
296 return static_cast<int>((value > static_cast<float>(static_cast<int>(value)))
297 ? static_cast<int>(value) + 1
298 : static_cast<int>(value));
299}
constexpr int type_rank< T >::value

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

Referenced by calculateCorkscrewHeight(), and calculateCorkscrewWidth().

+ Here is the caller graph for this function: