মূল বিষয়বস্তু উপেক্ষা করুন

//ERDDAP/com.cohort.util/ScriptMath/negateExact

negateExact

[JVM]
open fun negateExact(a: Int): Int

Returns the negation of the argument, throwing an exception if the result overflows an int.

[JVM]
open fun negateExact(a: Long): Long

Returns the negation of the argument, throwing an exception if the result overflows a long.