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

◆ operator*

template<int IntBits, int FracBits, Sign S>
fixed_point operator* ( i32 scalar,
fixed_point< IntBits, FracBits, S > fp )
friend

Definition at line 271 of file fixed_point.h.

271 {
272 return from_raw((scalar * static_cast<Base>(fp)).raw());
273 }
static constexpr FASTLED_FORCE_INLINE fixed_point from_raw(RawType raw) FL_NOEXCEPT
FASTLED_FORCE_INLINE constexpr RawType raw() const FL_NOEXCEPT
typename fixed_point_impl< IntBits, FracBits, S >::type Base