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