public final class BigDecimalMath extends NumberMath
BigDecimal NumberMath operations
Modifiers | Name | Description |
---|---|---|
static int |
DIVISION_EXTRA_PRECISION |
|
static int |
DIVISION_MIN_SCALE |
|
static BigDecimalMath |
INSTANCE |
Type Params | Return Type | Name and description |
---|---|---|
|
public Number |
addImpl(Number left, Number right) |
|
public int |
compareToImpl(Number left, Number right) |
|
public Number |
divideImpl(Number left, Number right) |
|
public Number |
multiplyImpl(Number left, Number right) |
|
public Number |
subtractImpl(Number left, Number right) |
Methods inherited from class | Name |
---|---|
class NumberMath |
abs, add, addImpl, and, bitwiseNegate, compareTo, compareToImpl, divide, divideImpl, getMath, intdiv, isBigDecimal, isBigInteger, isByte, isFloatingPoint, isInteger, isLong, isShort, leftShift, mod, multiply, multiplyImpl, or, rightShift, rightShiftUnsigned, subtract, subtractImpl, toBigDecimal, toBigInteger, unaryMinus, unaryPlus, xor |