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

◆ floor()

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

Definition at line 25 of file math.h.

25 {
26 if (value >= 0) {
27 return static_cast<T>(static_cast<int>(value));
28 }
29 return static_cast<T>(::floor(static_cast<float>(value)));
30}
T floor(T value)
Definition math.h:25

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: