addExact
ported from Math.addExact
Returns true if the argument is a finite floating-point value; returns false otherwise (for NaN and infinity arguments).
This method corresponds to the isFinite operation defined in IEEE 754.
Return
true if the argument is a finite floating-point value, false otherwise.
Parameters
d
the double value to be tested
Returns the sum of its arguments, throwing an exception if the result overflows an int.
Return
the result
Since
1.8
Parameters
x
the first value
y
the second value
Throws
if the result overflows an int