Package dev.nm.number
-
Interface Summary Interface Description DoubleUtils.ifelse Return a value with the same shape astest
which is filled with elements selected from eitheryes
orno
depending on whether the element of test istrue
orfalse
.DoubleUtils.which Decide whether x satisfies theboolean
test.NumberUtils.Comparable<T extends Number> We need a precision parameter to determine whether two numbers are close enough to be treated as equal. -
Class Summary Class Description DoubleUtils These are the utility functions to manipulatedouble
andint
.NumberUtils These are the utility functions to manipulateNumber
s.Real A real number is an arbitrary precision number.ScientificNotation Scientific notation expresses a number in this form x = a * 10b a is called the significand or mantissa, and 1 ≤ |a| < 10. -
Enum Summary Enum Description DoubleUtils.RoundingScheme the available schemes to round a number