Class FloatingPointMath
java.lang.Object
org.codehaus.groovy.runtime.typehandling.NumberMath
org.codehaus.groovy.runtime.typehandling.FloatingPointMath
FloatingPoint (Double and Float) 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- 
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
 
- 
modImpl- Overrides:
- modImplin class- NumberMath
 
- 
unaryMinusImpl- Specified by:
- unaryMinusImplin class- NumberMath
 
- 
unaryPlusImpl- Specified by:
- unaryPlusImplin class- NumberMath
 
 
-