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

◆ ceil_impl_double()

double fl::ceil_impl_double ( double value)

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

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

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

Referenced by ceil(), and fmod_impl_double().

+ Here is the caller graph for this function: