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

◆ sign() [2/2]

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

Definition at line 150 of file s16x16.h.

150 {
151 return x.mValue > 0 ? 1 : (x.mValue < 0 ? -1 : 0);
152 }

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

+ Here is the call graph for this function: