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

◆ sign() [2/2]

static constexpr FASTLED_FORCE_INLINE int fl::s16x16::sign ( s16x16 x)
inlinestaticconstexpr

Definition at line 176 of file s16x16.h.

176 {
177 return x.mValue > 0 ? 1 : (x.mValue < 0 ? -1 : 0);
178 }

References s16x16(), FASTLED_FORCE_INLINE, fl::FL_NO_EXCEPT, and fl::x.

+ Here is the call graph for this function: