Static
Precision error to check if value is at midpoint.
Checks if a number is at midpoint.
The number to check.
If the number is at midpoint.
Rounds a value using "to even" or "away from zero" algroithm.
The number to round.
Rounding mode. 0 - "away from zero" algorithm. 1 - "to even" algorithm.
Rounded number using one of two algorithms.
Rounds a value to the nearest number. Midpoint values are rounded toward the nearest number that's away from zero.
The rounded even number.
Rounds a value to the nearest number. Midpoint values are rounded toward the nearest even number.
Precision error to check if value is at midpoint.