open fun subtractExact(value: T): T
(source)
Returns a value that is (this - value)
.
value
- T: the amount to be subtracted to this value
ArithmeticException
- if the result of the subtraction overflows
Return
T: this - value
open fun subtractExact(value: Long): T
(source)
Returns a value that is (this - value)
.
value
- Long: the amount to be subtracted to this value
ArithmeticException
- if the result of the subtraction overflows
Return
T: this - value