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

//ERDDAP/com.cohort.util/ScriptMath/subtractExact

subtractExact

[JVM]
open fun subtractExact(x: Int, y: Int): Int

Returns the difference of the arguments, throwing an exception if the result overflows an int.

[JVM]
open fun subtractExact(x: Long, y: Long): Long

Returns the difference of the arguments, throwing an exception if the result overflows a long.