Exemple #1
0
 public static bool operator >=(F64 v1, int v2)
 {
     return(v1.raw >= Fixed64.FromInt(v2));
 }
Exemple #2
0
 // Constructors
 public F64(int v)
 {
     raw = Fixed64.FromInt(v);
 }
Exemple #3
0
 public static bool operator >=(int v1, F64 v2)
 {
     return(Fixed64.FromInt(v1) >= v2.raw);
 }
Exemple #4
0
 public static F64 operator %(int v1, F64 v2)
 {
     return(FromRaw(Fixed64.Mod(Fixed64.FromInt(v1), v2.raw)));
 }
Exemple #5
0
 public static F64 operator %(F64 v1, int v2)
 {
     return(FromRaw(Fixed64.Mod(v1.raw, Fixed64.FromInt(v2))));
 }
Exemple #6
0
 public static F64 operator /(int v1, F64 v2)
 {
     return(FromRaw(Fixed64.DivPrecise(Fixed64.FromInt(v1), v2.raw)));
 }
Exemple #7
0
 public static F64 operator -(F64 v1, int v2)
 {
     return(FromRaw(v1.raw - Fixed64.FromInt(v2)));
 }