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

◆ sign() [2/2]

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

Definition at line 125 of file s12x4.h.

125 {
126 return x.mValue > 0 ? 1 : (x.mValue < 0 ? -1 : 0);
127 }

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

+ Here is the call graph for this function: