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

◆ halfOf< fl::s16x16 >()

template<>
fl::s16x16 fl::gfx::halfOf< fl::s16x16 > ( fl::s16x16 val)
inline

Definition at line 82 of file primitives.h.

82 {
83 return fl::s16x16::from_raw(val.raw() >> 1);
84}
constexpr i32 raw() const FL_NO_EXCEPT
Definition s16x16.h:62
static constexpr FASTLED_FORCE_INLINE s16x16 from_raw(i32 raw) FL_NO_EXCEPT
Definition s16x16.h:56

References fl::FL_NO_EXCEPT, and fl::s16x16::from_raw().

+ Here is the call graph for this function: