ln1p
Computes ln(x + 1)
.
This function can be implemented to produce more precise result for x near zero.
Special cases:
ln1p(NaN)
isNaN
ln1p(x)
isNaN
wherex < -1.0
ln1p(-1.0)
is-Inf
ln1p(+Inf)
is+Inf
Since Kotlin
1.2See also
Computes ln(x + 1)
.
This function can be implemented to produce more precise result for x near zero.
Special cases:
ln1p(NaN)
isNaN
ln1p(x)
isNaN
wherex < -1.0
ln1p(-1.0)
is-Inf
ln1p(+Inf)
is+Inf
Since Kotlin
1.2See also
Computes ln(x + 1)
.
This function can be implemented to produce more precise result for x near zero.
Special cases:
ln1p(NaN)
isNaN
ln1p(x)
isNaN
wherex < -1.0
ln1p(-1.0)
is-Inf
ln1p(+Inf)
is+Inf
Since Kotlin
1.2See also
Computes ln(x + 1)
.
This function can be implemented to produce more precise result for x near zero.
Special cases:
ln1p(NaN)
isNaN
ln1p(x)
isNaN
wherex < -1.0
ln1p(-1.0)
is-Inf
ln1p(+Inf)
is+Inf
Since Kotlin
1.3See also
Computes ln(x + 1)
.
This function can be implemented to produce more precise result for x near zero.
Special cases:
ln1p(NaN)
isNaN
ln1p(x)
isNaN
wherex < -1.0
ln1p(-1.0)
is-Inf
ln1p(+Inf)
is+Inf
Since Kotlin
1.8See also
Computes ln(a + 1)
.
This function can be implemented to produce more precise result for x near zero.
Special cases:
ln1p(NaN)
isNaN
ln1p(x)
isNaN
wherex < -1.0
ln1p(-1.0)
is-Inf
ln1p(+Inf)
is+Inf
Since Kotlin
1.8See also
Computes ln(x + 1)
.
This function can be implemented to produce more precise result for x near zero.
Special cases:
ln1p(NaN)
isNaN
ln1p(x)
isNaN
wherex < -1.0
ln1p(-1.0)
is-Inf
ln1p(+Inf)
is+Inf
Since Kotlin
1.8See also
Computes ln(a + 1)
.
This function can be implemented to produce more precise result for x near zero.
Special cases:
ln1p(NaN)
isNaN
ln1p(x)
isNaN
wherex < -1.0
ln1p(-1.0)
is-Inf
ln1p(+Inf)
is+Inf