abs

fun abs(x: BigInt): BigInt

Returns the absolute value of the given value x.

fun <T : Comparable<T>> Ring<T>.abs(value: T): T

Absolute of the comparable value