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

◆ operator*() [1/4]

template<class T, int F, int I>
int16_t qfx< T, F, I >::operator* ( int16_t v)
inline

Multiply the fractional int by a value.

Definition at line 32 of file qfx.h.

32{ return (v*i) + ((v*f)>>F); }
T i
Integer value of number.
Definition qfx.h:17
T f
Fractional value of number.
Definition qfx.h:18
Template class for representing fractional ints.
Definition qfx.h:16