Exemple #1
0
 public static bool operator >(fix16 self, float other)
 {
     return(self.value > LibFixMath.fix16_from_float(other));
 }
Exemple #2
0
 fix16 ssub(float other)
 {
     fix16 ret = (fix16)LibFixMath.fix16_sadd(value, -LibFixMath.fix16_from_float(other)); return(ret);
 }
Exemple #3
0
 fix16 sdiv(float other)
 {
     fix16 ret = (fix16)LibFixMath.fix16_sdiv(value, LibFixMath.fix16_from_float(other)); return(ret);
 }
Exemple #4
0
 public fix16(float inValue)
 {
     value = LibFixMath.fix16_from_float(inValue);
 }