Ejemplo n.º 1
0
 fix16 sdiv(int16_t other)
 {
     fix16 ret = (fix16)LibFixMath.fix16_sdiv(value, LibFixMath.fix16_from_int(other));   return(ret);
 }
Ejemplo n.º 2
0
 fix16 sdiv(double other)
 {
     fix16 ret = (fix16)LibFixMath.fix16_sdiv(value, LibFixMath.fix16_from_dbl(other));   return(ret);
 }
Ejemplo n.º 3
0
 fix16 sdiv(float other)
 {
     fix16 ret = (fix16)LibFixMath.fix16_sdiv(value, LibFixMath.fix16_from_float(other)); return(ret);
 }
Ejemplo n.º 4
0
 fix16 sdiv(fix16_t other)
 {
     fix16 ret = (fix16)LibFixMath.fix16_sdiv(value, other);                   return(ret);
 }