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

◆ ceil_impl_float()

float fl::ceil_impl_float ( float value)

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

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

References type_rank< T >::value.

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

+ Here is the caller graph for this function: