function negateExact
source · line 68public
public fun negateExact(value: Int): Int
Negates with overflow checking.
parameter value
source · line 68public
value: Int
scoop:scoop.math:0.1.0
public fun negateExact(value: Int): Int
Negates with overflow checking.
value: Int
public fun negateExact(value: Long): Long
Negates with overflow checking.
value: Long
public fun negateExact(value: Byte): Byte
Negates with overflow checking.
value: Byte
public fun negateExact(value: Short): Short
Negates with overflow checking.
value: Short