ulp
Returns the ulp (unit in the last place) of this value.
An ulp is a positive distance between this value and the next nearest Double value larger in magnitude.
Special Cases:
NaN.ulp
isNaN
x.ulp
is+Inf
whenx
is+Inf
or-Inf
0.0.ulp
isDouble.MIN_VALUE
Since Kotlin
1.2Returns the ulp (unit in the last place) of this value.
An ulp is a positive distance between this value and the next nearest Double value larger in magnitude.
Special Cases:
NaN.ulp
isNaN
x.ulp
is+Inf
whenx
is+Inf
or-Inf
0.0.ulp
isDouble.MIN_VALUE
Since Kotlin
1.2Returns the ulp of this value.
An ulp is a positive distance between this value and the next nearest Float value larger in magnitude.
Special Cases:
NaN.ulp
isNaN
x.ulp
is+Inf
whenx
is+Inf
or-Inf
0.0.ulp
isFloat.MIN_VALUE
Since Kotlin
1.2Returns the ulp (unit in the last place) of this value.
An ulp is a positive distance between this value and the next nearest Double value larger in magnitude.
Special Cases:
NaN.ulp
isNaN
x.ulp
is+Inf
whenx
is+Inf
or-Inf
0.0.ulp
isDouble.MIN_VALUE
Since Kotlin
1.2Since Kotlin
1.3Returns the ulp (unit in the last place) of this value.
An ulp is a positive distance between this value and the next nearest Double value larger in magnitude.
Special Cases:
NaN.ulp
isNaN
x.ulp
is+Inf
whenx
is+Inf
or-Inf
0.0.ulp
isDouble.MIN_VALUE