public final class FloatingPointMath extends NumberMath
Modifier and Type | Field and Description |
---|---|
static FloatingPointMath |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
protected Number |
absImpl(Number number) |
Number |
addImpl(Number left,
Number right) |
int |
compareToImpl(Number left,
Number right) |
Number |
divideImpl(Number left,
Number right) |
protected Number |
modImpl(Number left,
Number right) |
Number |
multiplyImpl(Number left,
Number right) |
Number |
subtractImpl(Number left,
Number right) |
protected Number |
unaryMinusImpl(Number left) |
protected Number |
unaryPlusImpl(Number left) |
abs, add, and, andImpl, bitwiseNegate, bitwiseNegateImpl, compareTo, createUnsupportedException, divide, getMath, intdiv, intdivImpl, isBigDecimal, isBigInteger, isFloatingPoint, isInteger, isLong, leftShift, leftShiftImpl, mod, multiply, or, orImpl, rightShift, rightShiftImpl, rightShiftUnsigned, rightShiftUnsignedImpl, subtract, toBigDecimal, toBigInteger, unaryMinus, unaryPlus, xor, xorImpl
public static final FloatingPointMath INSTANCE
protected Number absImpl(Number number)
absImpl
in class NumberMath
public Number addImpl(Number left, Number right)
addImpl
in class NumberMath
public Number subtractImpl(Number left, Number right)
subtractImpl
in class NumberMath
public Number multiplyImpl(Number left, Number right)
multiplyImpl
in class NumberMath
public Number divideImpl(Number left, Number right)
divideImpl
in class NumberMath
public int compareToImpl(Number left, Number right)
compareToImpl
in class NumberMath
protected Number modImpl(Number left, Number right)
modImpl
in class NumberMath
protected Number unaryMinusImpl(Number left)
unaryMinusImpl
in class NumberMath
protected Number unaryPlusImpl(Number left)
unaryPlusImpl
in class NumberMath