IMathTNumericMax Method
Returns the larger of two numbers.
Namespace: Jodosoft.NumericsAssembly: Jodosoft.Numerics (in Jodosoft.Numerics.dll) Version: 2.0
TNumeric Max(
TNumeric val1,
TNumeric val2
)
Function Max (
val1 As TNumeric,
val2 As TNumeric
) As TNumeric
TNumeric Max(
TNumeric val1,
TNumeric val2
)
abstract Max :
val1 : 'TNumeric *
val2 : 'TNumeric -> 'TNumeric
- val1 TNumeric
- The first of two numbers to compare.
- val2 TNumeric
- The second of two numbers to compare.
TNumericParameter
val1 or
val2, whichever is larger.
This method may return
NaN or Infinity.
If
NaN or Infinity cannot be represented by
TNumeric,
then this method may throw an
ArithmeticException.