abs
Returns the absolute value of the given value x.
Special cases:
abs(NaN)
isNaN
Since Kotlin
1.2See also
extension property for Double
Returns the absolute value of the given value x.
Special cases:
abs(NaN)
isNaN
Since Kotlin
1.2See also
extension property for Float
Returns the absolute value of the given value n.
Special cases:
abs(Int.MIN_VALUE)
isInt.MIN_VALUE
due 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)
isLong.MIN_VALUE
due 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)
isNaN
Since Kotlin
1.2See also
extension property for Double
Returns the absolute value of the given value x.
Special cases:
abs(NaN)
isNaN
Since Kotlin
1.2See also
extension property for Float
Returns the absolute value of the given value n.
Special cases:
abs(Int.MIN_VALUE)
isInt.MIN_VALUE
due 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)
isLong.MIN_VALUE
due 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)
isNaN
Since Kotlin
1.2See also
extension property for Double
Returns the absolute value of the given value x.
Special cases:
abs(NaN)
isNaN
Since Kotlin
1.2See also
extension property for Float
Returns the absolute value of the given value n.
Special cases:
abs(Int.MIN_VALUE)
isInt.MIN_VALUE
due 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)
isLong.MIN_VALUE
due 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)
isNaN
Since Kotlin
1.3See also
extension property for Double
Returns the absolute value of the given value x.
Special cases:
abs(NaN)
isNaN
Since Kotlin
1.3See also
extension property for Float
Returns the absolute value of the given value n.
Special cases:
abs(Int.MIN_VALUE)
isInt.MIN_VALUE
due to an overflow
Since Kotlin
1.3See also
extension property for Int
Returns the absolute value of the given value n.
Special cases:
abs(Long.MIN_VALUE)
isLong.MIN_VALUE
due to an overflow
Since Kotlin
1.3See also
extension property for Long
Returns the absolute value of the given value x.
Special cases:
abs(NaN)
isNaN
Since Kotlin
1.8See also
extension property for Double
Returns the absolute value of the given value x.
Special cases:
abs(NaN)
isNaN
Since Kotlin
1.8See also
extension property for Float
Returns the absolute value of the given value n.
Special cases:
abs(Int.MIN_VALUE)
isInt.MIN_VALUE
due to an overflow
Since Kotlin
1.8See also
extension property for Int
Returns the absolute value of the given value n.
Special cases:
abs(Long.MIN_VALUE)
isLong.MIN_VALUE
due to an overflow
Since Kotlin
1.8See also
extension property for Long
Returns the absolute value of the given value x.
Special cases:
abs(NaN)
isNaN
Since Kotlin
1.8See also
extension property for Double
Returns the absolute value of the given value x.
Special cases:
abs(NaN)
isNaN
Since Kotlin
1.8See also
extension property for Float
Returns the absolute value of the given value n.
Special cases:
abs(Int.MIN_VALUE)
isInt.MIN_VALUE
due to an overflow
Since Kotlin
1.8See also
extension property for Int
Returns the absolute value of the given value n.
Special cases:
abs(Long.MIN_VALUE)
isLong.MIN_VALUE
due to an overflow
Since Kotlin
1.8See also
extension property for Long