Example #1
0
 fix16 smul(int16_t other)
 {
     fix16 ret = (fix16)LibFixMath.fix16_smul(value, LibFixMath.fix16_from_int(other));   return(ret);
 }
Example #2
0
 fix16 smul(double other)
 {
     fix16 ret = (fix16)LibFixMath.fix16_smul(value, LibFixMath.fix16_from_dbl(other));   return(ret);
 }
Example #3
0
 fix16 smul(float other)
 {
     fix16 ret = (fix16)LibFixMath.fix16_smul(value, LibFixMath.fix16_from_float(other)); return(ret);
 }
Example #4
0
 fix16 smul(fix16_t other)
 {
     fix16 ret = (fix16)LibFixMath.fix16_smul(value, other);                   return(ret);
 }