Utility class for working with extended number types that include infinities.
Static
Adds two numbers, handling infinite values appropriately.
When attempting to add +inf and -inf
When given invalid NumImpl types
Compares two numbers, returning:
Creates an integer number representation.
The numeric value to wrap
An IntNum object
Creates a negative infinity representation.
An MInf object
Returns the maximum of the given numbers.
Rest
Array of numbers to compare
Returns the minimum of the given numbers.
Returns the arithmetic negation of a number.
When given an invalid NumImpl type
Creates a positive infinity representation.
A PInf object
Utility class for working with extended number types that include infinities.