Class BigDecimalMath
java.lang.Object
org.codehaus.groovy.runtime.typehandling.NumberMath
org.codehaus.groovy.runtime.typehandling.BigDecimalMath
BigDecimal NumberMath operations
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionprotected NumberintcompareToImpl(Number left, Number right) divideImpl(Number left, Number right) protected NumbermultiplyImpl(Number left, Number right) subtractImpl(Number left, Number right) protected NumberunaryMinusImpl(Number left) protected NumberunaryPlusImpl(Number left) Methods inherited from class org.codehaus.groovy.runtime.typehandling.NumberMathabs, add, and, andImpl, bitwiseNegate, bitwiseNegateImpl, compareTo, createUnsupportedException, divide, getMath, intdiv, intdivImpl, isBigDecimal, isBigInteger, isByte, isFloatingPoint, isInteger, isLong, isShort, leftShift, leftShiftImpl, mod, multiply, or, orImpl, rightShift, rightShiftImpl, rightShiftUnsigned, rightShiftUnsignedImpl, subtract, toBigDecimal, toBigInteger, unaryMinus, unaryPlus, xor, xorImpl
- 
Field Details- 
DIVISION_EXTRA_PRECISIONpublic static final int DIVISION_EXTRA_PRECISION
- 
DIVISION_MIN_SCALEpublic static final int DIVISION_MIN_SCALE
- 
INSTANCE
 
- 
- 
Method Details- 
absImpl- Specified by:
- absImplin class- NumberMath
 
- 
addImpl- Specified by:
- addImplin class- NumberMath
 
- 
subtractImpl- Specified by:
- subtractImplin class- NumberMath
 
- 
multiplyImpl- Specified by:
- multiplyImplin class- NumberMath
 
- 
divideImpl- Specified by:
- divideImplin class- NumberMath
 
- 
compareToImpl- Specified by:
- compareToImplin class- NumberMath
 
- 
unaryMinusImpl- Specified by:
- unaryMinusImplin class- NumberMath
 
- 
unaryPlusImpl- Specified by:
- unaryPlusImplin class- NumberMath
 
- 
modImpl- Overrides:
- modImplin class- NumberMath
 
 
-