| NumericIsGreater Method (Single, Single, Single) |
Determines whether a value is greater than another value (regarding the specified
tolerance).
Namespace: DigitalRune.MathematicsAssembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax public static bool IsGreater(
float value1,
float value2,
float epsilon
)
Public Shared Function IsGreater (
value1 As Single,
value2 As Single,
epsilon As Single
) As Boolean
public:
static bool IsGreater(
float value1,
float value2,
float epsilon
)
static member IsGreater :
value1 : float32 *
value2 : float32 *
epsilon : float32 -> bool
Parameters
- value1
- Type: SystemSingle
The first value. - value2
- Type: SystemSingle
The second value. - epsilon
- Type: SystemSingle
The tolerance value.
Return Value
Type:
Boolean if
value1 >
value2 and the
difference between
value1 and
value2 is greater than
or equal to the epsilon tolerance; otherwise,
.
Exceptions See Also