Click or drag to resize

FloatingPointComparison Methods

The FloatingPointComparison type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCubeRoot
Computes the real-valued cube root if a given number. The cube root of a negative value is the negative of the cube root of that value's magnitude.
Public methodStatic memberDivideRoundTripIsGreaterOrEqual
Divides a dividend by a divisor such that if the quotient is later multiplied by the divisor the result is greater than or equal to the dividend.
Public methodStatic memberDivideRoundTripIsLessOrEqual
Divides a dividend by a divisor such that if the quotient is later multiplied by the divisor the result is less than or equal to the dividend.
Public methodStatic memberEqualsSignificantDigits(Double, Double, Int32)
Compares two numbers up to the specified number of significant digits.
Public methodStatic memberEqualsSignificantDigits(Double, Double, Int32, Int32)
Compares two numbers up to the specified number of significant digits.
Public methodStatic memberEqualsSignificantDigitsOrAbsoluteError
Compares two numbers up to the specified number of significant digits or by their absolute error.
Public methodStatic memberGetVariableExponent
Returns the order N of the given variable of the form: var * 10^-(N+1) is less than 0.0
Top
See Also