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