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

◆ floor_impl_double()

double fl::floor_impl_double ( double value)

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

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

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

Referenced by floor(), and fmod_impl_double().

+ Here is the caller graph for this function: