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

◆ halfOf< fl::s16x16 >()

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

Definition at line 80 of file primitives.h.

80 {
81 return fl::s16x16::from_raw(val.raw() >> 1);
82}
static constexpr FASTLED_FORCE_INLINE s16x16 from_raw(i32 raw) FL_NOEXCEPT
Definition s16x16.h:54
constexpr i32 raw() const FL_NOEXCEPT
Definition s16x16.h:60

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

+ Here is the call graph for this function: