abs

fun abs(x: Float): Float(source)


fun abs(n: Int): Int(source)
fun abs(n: Long): Long(source)

The minimum value retains its negative value because its magnitude is not representable.