- compare
Compares value n1 to value n2. If one or both of the values are Float or Double
the comparison is do
- calculate
Helper method for the individual operations methods: add, subtract etc.
- copy
Copies the given Number object. This is a short-cut for
NumberOperations.newInstance(number, number.
- doubleCalculation
Perform a calculation on two values using double precision.
- doubleComparison
Compare two values as floats using the currently set tolerance
- doubleValue
Safely convert the argument to a double value. The only difference between this
method and Number.do
- floatCalculation
Perform a calculation on two values using float precision.
- floatComparison
Compare two values as floats using the currently set tolerance
- floatValue
Safely convert the argument to a float value. The following conventions apply: *
Byte values ar
- highestClass
Determine the highest ranking class (in terms of numeric precision) among the
arguments
- intValue
Safely convert the argument to an int value. The following conventions apply: *
Byte values are
- integralCalculation
Perform a calculation on two integral values. The calculations are done with
long values.