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

◆ floor_impl_double()

double fl::floor_impl_double ( double value)

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

52 {
53 if (value >= 0.0) {
54 return static_cast<double>(static_cast<long long>(value));
55 }
56 long long i = static_cast<long long>(value);
57 return static_cast<double>(i - (value != static_cast<double>(i) ? 1 : 0));
58}
constexpr int type_rank< T >::value

References type_rank< T >::value.

Referenced by floor(), and fmod_impl_double().

+ Here is the caller graph for this function: