FloatingPointComparison Class |
Namespace: AGI.Foundation
The FloatingPointComparison type exposes the following members.
| Name | Description | |
|---|---|---|
| CubeRoot |
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.
| |
| DivideRoundTripIsGreaterOrEqual |
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.
| |
| DivideRoundTripIsLessOrEqual |
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.
| |
| EqualsSignificantDigits(Double, Double, Int32) |
Compares two numbers up to the specified number of significant digits.
| |
| EqualsSignificantDigits(Double, Double, Int32, Int32) |
Compares two numbers up to the specified number of significant digits.
| |
| EqualsSignificantDigitsOrAbsoluteError |
Compares two numbers up to the specified number of significant digits or by their absolute error.
| |
| GetVariableExponent |
Returns the order N of the given variable of the form: var * 10^-(N+1) is less than 0.0
|