Method GreaterThanOrClose
GreaterThanOrClose(double, double)
Determines whether the first double-precision floating-point value is greater than or approximately equal to the second value.
public static bool GreaterThanOrClose(double value1, double value2)
Parameters
value1doubleThe first double-precision floating-point value to compare.
value2doubleThe second double-precision floating-point value to compare.
Returns
Remarks
Two values are considered approximately equal if the difference
between them is
within a small tolerance. The tolerance is determined by the implementation
of the AreClose(double,double) method.
GreaterThanOrClose(float, float)
Determines whether the first floating-point value is greater than or approximately equal to the second value.
public static bool GreaterThanOrClose(float value1, float value2)
Parameters
value1floatThe first floating-point value to compare.
value2floatThe second floating-point value to compare.
Returns
Remarks
Two values are considered approximately equal if the difference
between them is
within a small tolerance. The tolerance is determined by the implementation
of the AreClose(float,float) method.