Numeric Methods |
The Numeric type exposes the following members.
Name | Description | |
---|---|---|
AreEqual(Double, Double) |
Determines whether two values are equal (regarding the tolerance EpsilonD).
| |
AreEqual(Single, Single) |
Determines whether two values are equal (regarding the tolerance EpsilonF).
| |
AreEqual(Double, Double, Double) |
Determines whether two values are equal (regarding a specific tolerance).
| |
AreEqual(Single, Single, Single) |
Determines whether two values are equal (regarding a specific tolerance).
| |
ClampToZero(Double) |
Clamps near-zero values to zero.
| |
ClampToZero(Single) |
Clamps near-zero values to zero.
| |
ClampToZero(Double, Double) |
Clamps near-zero values to zero.
| |
ClampToZero(Single, Single) |
Clamps near-zero values to zero.
| |
Compare(Double, Double) |
Compares two double values (regarding the tolerance
EpsilonD).
| |
Compare(Single, Single) |
Compares two float values (regarding the tolerance
EpsilonF).
| |
Compare(Double, Double, Double) |
Compares two double values (regarding a specific tolerance).
| |
Compare(Single, Single, Single) |
Compares two float values (regarding a specific tolerance).
| |
GetSignificantBitsSigned |
Gets the significant bits of a floating-point number, which can be used for rough
comparisons or sorting. (The floating-point number can negative or positive.)
| |
GetSignificantBitsUnsigned |
Gets the significant bits of a floating-point number, which can be used for rough
comparisons or sorting. (The floating-point number must be positive.)
| |
IsFinite(Double) |
Determines whether the specified value is finite.
| |
IsFinite(Single) |
Determines whether the specified value is finite.
| |
IsFiniteOrNaN(Double) |
Determines whether the specified value is finite or NaN.
| |
IsFiniteOrNaN(Single) |
Determines whether the specified value is finite or NaN.
| |
IsGreater(Double, Double) |
Determines whether a value is greater than another value (regarding the tolerance
EpsilonD).
| |
IsGreater(Single, Single) |
Determines whether a value is greater than another value (regarding the tolerance
EpsilonF).
| |
IsGreater(Double, Double, Double) |
Determines whether a value is greater than another value (regarding the specified
tolerance).
| |
IsGreater(Single, Single, Single) |
Determines whether a value is greater than another value (regarding the specified
tolerance).
| |
IsGreaterOrEqual(Double, Double) |
Determines whether a value is greater than or equal to another value (regarding the
tolerance EpsilonD).
| |
IsGreaterOrEqual(Single, Single) |
Determines whether a value is greater than or equal to another value (regarding the
tolerance EpsilonF).
| |
IsGreaterOrEqual(Double, Double, Double) |
Determines whether a value is greater than or equal to another value (regarding the
specified tolerance).
| |
IsGreaterOrEqual(Single, Single, Single) |
Determines whether a value is greater than or equal to another value (regarding the
specified tolerance).
| |
IsLess(Double, Double) |
Determines whether a value is less than another value (regarding the tolerance
EpsilonD).
| |
IsLess(Single, Single) |
Determines whether a value is less than another value (regarding the tolerance
EpsilonF).
| |
IsLess(Double, Double, Double) |
Determines whether a value is less than another value (regarding the specified tolerance).
| |
IsLess(Single, Single, Single) |
Determines whether a value is less than another value (regarding the specified tolerance).
| |
IsLessOrEqual(Double, Double) |
Determines whether a value is less than or equal to another value (regarding the tolerance
EpsilonD).
| |
IsLessOrEqual(Single, Single) |
Determines whether a value is less than or equal to another value (regarding the tolerance
EpsilonF).
| |
IsLessOrEqual(Double, Double, Double) |
Determines whether a value is less than or equal to another value (regarding the specified
tolerance).
| |
IsLessOrEqual(Single, Single, Single) |
Determines whether a value is less than or equal to another value (regarding the specified
tolerance).
| |
IsNaN(Double) |
Returns a value indicating whether the specified number is NaN.
| |
IsNaN(Single) |
Returns a value indicating whether the specified number is NaN.
| |
IsNegative(Double) |
Determines whether the specified value is negative.
| |
IsNegative(Single) |
Determines whether the specified value is negative.
| |
IsNegativeFinite(Double) |
Determines whether the specified value is negative finite.
| |
IsNegativeFinite(Single) |
Determines whether the specified value is negative finite.
| |
IsPositive(Double) |
Determines whether the specified value is positive.
| |
IsPositive(Single) |
Determines whether the specified value is positive.
| |
IsPositiveFinite(Double) |
Determines whether the specified value is positive finite.
| |
IsPositiveFinite(Single) |
Determines whether the specified value is positive finite.
| |
IsZero(Double) |
Determines whether a value is zero (regarding the tolerance
EpsilonD).
| |
IsZero(Single) |
Determines whether a value is zero (regarding the tolerance
EpsilonF).
| |
IsZero(Double, Double) |
Determines whether a value is zero (regarding a specific tolerance).
| |
IsZero(Single, Single) |
Determines whether a value is zero (regarding a specific tolerance).
| |
IsZeroOrNegativeFinite(Double) |
Determines whether the specified value is 0 or negative finite.
| |
IsZeroOrNegativeFinite(Single) |
Determines whether the specified value is 0 or negative finite.
| |
IsZeroOrPositiveFinite(Double) |
Determines whether the specified value is 0 or positive finite.
| |
IsZeroOrPositiveFinite(Single) |
Determines whether the specified value is 0 or positive finite.
|