Returns the sum of its arguments,
throwing an exception if the result overflows a long
.
Returns the sum of its arguments,
throwing an exception if the result overflows a long
.
the first value
the second value
the result
ArithmeticException
if the result overflows a long
Returns the sum of its arguments,
throwing an exception if the result overflows an int
.
Returns the sum of its arguments,
throwing an exception if the result overflows an int
.
the first value
the second value
the result
ArithmeticException
if the result overflows an int
Returns the product of the arguments,
throwing an exception if the result overflows a long
.
Returns the product of the arguments,
throwing an exception if the result overflows a long
.
the first value
the second value
the result
ArithmeticException
if the result overflows a long
Returns the product of the arguments,
throwing an exception if the result overflows an int
.
Returns the product of the arguments,
throwing an exception if the result overflows an int
.
the first value
the second value
the result
ArithmeticException
if the result overflows an int
Returns the difference of the arguments,
throwing an exception if the result overflows a long
.
Returns the difference of the arguments,
throwing an exception if the result overflows a long
.
the first value
the second value to subtract from the first
the result
ArithmeticException
if the result overflows a long
Returns the difference of the arguments,
throwing an exception if the result overflows an int
.
Returns the difference of the arguments,
throwing an exception if the result overflows an int
.
the first value
the second value to subtract from the first
the result
ArithmeticException
if the result overflows an int
Contains methods introduced since Java 1.8 which are not available in Java 1.7. Using this methods supports compatibility with Java 1.7 in non-JVM contexts like RoboVM. The implementations are copies from JDK 1.8 sources.
See this issue