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

◆ floor()

template<typename T>
T fl::floor ( T value)
inline

Definition at line 32 of file math.h.

32 {
33 if (value >= 0) {
34 return static_cast<T>(static_cast<int>(value));
35 }
36 return static_cast<T>(::floor(static_cast<float>(value)));
37}
T floor(T value)
Definition math.h:32

References floor().

Referenced by floor(), fl::JsonValue::parse(), and traverseGridSegmentFloat().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: