Beispiel #1
0
 /// <summary>
 /// Rounds a value to the nearest integral value.
 /// If the value is halfway between an even and an uneven value, returns the even value.
 /// </summary>
 public static Fixed64 Round(Fixed64 value)
 {
     return(Fixed64.Round(value));
 }
Beispiel #2
0
 public static F64 Round(F64 a)
 {
     return(FromRaw(Fixed64.Round(a.Raw)));
 }