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

◆ ceil_impl_double()

double fl::ceil_impl_double ( double value)

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

70 {
71 if (value <= 0.0) {
72 return static_cast<double>(static_cast<long long>(value));
73 }
74 long long i = static_cast<long long>(value);
75 return static_cast<double>(i + (value != static_cast<double>(i) ? 1 : 0));
76}
constexpr int type_rank< T >::value

References type_rank< T >::value.

Referenced by ceil(), and fmod_impl_double().

+ Here is the caller graph for this function: