abs
Returns the absolute value of the given value x.
Special cases:
- abs(NaN)is- NaN
Since Kotlin
1.2See also
extension property for Double
Returns the absolute value of the given value x.
Special cases:
- abs(NaN)is- NaN
Since Kotlin
1.2See also
extension property for Float
Returns the absolute value of the given value n.
Special cases:
- abs(Int.MIN_VALUE)is- Int.MIN_VALUEdue to an overflow
Since Kotlin
1.2See also
extension property for Int
Returns the absolute value of the given value n.
Special cases:
- abs(Long.MIN_VALUE)is- Long.MIN_VALUEdue to an overflow
Since Kotlin
1.2See also
extension property for Long
Returns the absolute value of the given value x.
Special cases:
- abs(NaN)is- NaN
Since Kotlin
1.2See also
extension property for Double
Returns the absolute value of the given value x.
Special cases:
- abs(NaN)is- NaN
Since Kotlin
1.2See also
extension property for Float
Returns the absolute value of the given value n.
Special cases:
- abs(Int.MIN_VALUE)is- Int.MIN_VALUEdue to an overflow
Since Kotlin
1.2See also
extension property for Int
Returns the absolute value of the given value n.
Special cases:
- abs(Long.MIN_VALUE)is- Long.MIN_VALUEdue to an overflow
Since Kotlin
1.2See also
extension property for Long
Returns the absolute value of the given value x.
Special cases:
- abs(NaN)is- NaN
Since Kotlin
1.2See also
extension property for Double
Returns the absolute value of the given value x.
Special cases:
- abs(NaN)is- NaN
Since Kotlin
1.2See also
extension property for Float
Returns the absolute value of the given value n.
Special cases:
- abs(Int.MIN_VALUE)is- Int.MIN_VALUEdue to an overflow
Since Kotlin
1.2See also
extension property for Int
Returns the absolute value of the given value n.
Special cases:
- abs(Long.MIN_VALUE)is- Long.MIN_VALUEdue to an overflow
Since Kotlin
1.2See also
extension property for Long