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

◆ abs() [2/2]

static constexpr FASTLED_FORCE_INLINE s16x16 fl::s16x16::abs ( s16x16 x)
inlinestaticconstexpr

Definition at line 146 of file s16x16.h.

146 {
147 return from_raw(x.mValue < 0 ? -x.mValue : x.mValue);
148 }
static constexpr FASTLED_FORCE_INLINE s16x16 from_raw(i32 raw) FL_NOEXCEPT
Definition s16x16.h:54

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

Referenced by fl::FlowFieldFP::drawAALine().

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