Exemplo n.º 1
0
 /// <summary>
 /// Returns a number indicating the sign of a Fix64 number.
 /// Returns 1 if the value is positive, 0 if is 0, and -1 if it is negative.
 /// </summary>
 public static int Sign(Fixed64 value)
 {
     return(Fixed64.Sign(value));
 }
Exemplo n.º 2
0
 public static int Sign(F64 a)
 {
     return(Fixed64.Sign(a.Raw));
 }