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

◆ ceil_impl_float()

float fl::ceil_impl_float ( float value)

Definition at line 62 of file math.cpp.hpp.

62 {
63 if (value <= 0.0f) {
64 return static_cast<float>(static_cast<int>(value));
65 }
66 int i = static_cast<int>(value);
67 return static_cast<float>(i + (value != static_cast<float>(i) ? 1 : 0));
68}
constexpr int type_rank< T >::value

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

Referenced by ceil(), ceilf(), and fmod_impl_float().

+ Here is the caller graph for this function: