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

◆ abs() [2/2]

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

Definition at line 172 of file s16x16.h.

172 {
173 return from_raw(x.mValue < 0 ? -x.mValue : x.mValue);
174 }
static constexpr FASTLED_FORCE_INLINE s16x16 from_raw(i32 raw) FL_NO_EXCEPT
Definition s16x16.h:56

References s16x16(), FASTLED_FORCE_INLINE, fl::FL_NO_EXCEPT, 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: