FastLED 3.10.8
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_NO_EXCEPT
typename fixed_point_impl< IntBits, FracBits, S >::type Base
FASTLED_FORCE_INLINE constexpr RawType raw() const FL_NO_EXCEPT