Returns the difference of the arguments,
throwing an exception if the result overflows a long
.
x | the first value | |
y | the second value to subtract from the first |
ArithmeticException | if the result overflows a long |
Math.subtractExact(long,long)
Diagram: Math