Class BigIntegerMath
java.lang.Object
org.codehaus.groovy.runtime.typehandling.NumberMath
org.codehaus.groovy.runtime.typehandling.BigIntegerMath
BigInteger NumberMath operations
- Author:
- Steve Goetze
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionprotected Numberprotected Numberprotected NumberbitwiseNegateImpl(Number left) intcompareToImpl(Number left, Number right) divideImpl(Number left, Number right) protected NumberintdivImpl(Number left, Number right) protected NumbermultiplyImpl(Number left, Number right) protected NumbersubtractImpl(Number left, Number right) protected NumberunaryMinusImpl(Number left) protected NumberMethods inherited from class org.codehaus.groovy.runtime.typehandling.NumberMath
abs, add, and, compareTo, createUnsupportedException, divide, getMath, intdiv, isBigDecimal, isBigInteger, isFloatingPoint, isInteger, isLong, leftShift, leftShiftImpl, mod, multiply, or, rightShift, rightShiftImpl, rightShiftUnsigned, rightShiftUnsignedImpl, subtract, toBigDecimal, toBigInteger, unaryMinus, xor
-
Field Details
-
INSTANCE
-
-
Method Details
-
absImpl
- Specified by:
absImplin classNumberMath
-
addImpl
- Specified by:
addImplin classNumberMath
-
subtractImpl
- Specified by:
subtractImplin classNumberMath
-
multiplyImpl
- Specified by:
multiplyImplin classNumberMath
-
divideImpl
- Specified by:
divideImplin classNumberMath
-
compareToImpl
- Specified by:
compareToImplin classNumberMath
-
intdivImpl
- Overrides:
intdivImplin classNumberMath
-
modImpl
- Overrides:
modImplin classNumberMath
-
unaryMinusImpl
- Specified by:
unaryMinusImplin classNumberMath
-
bitwiseNegateImpl
-
orImpl
- Overrides:
orImplin classNumberMath
-
andImpl
- Overrides:
andImplin classNumberMath
-
xorImpl
- Overrides:
xorImplin classNumberMath
-