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.ulpisNaNx.ulpis+Infwhenxis+Infor-Inf0.0.ulpisDouble.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.ulpisNaNx.ulpis+Infwhenxis+Infor-Inf0.0.ulpisDouble.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.ulpisNaNx.ulpis+Infwhenxis+Infor-Inf0.0.ulpisFloat.NIN_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.ulpisNaNx.ulpis+Infwhenxis+Infor-Inf0.0.ulpisDouble.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.ulpisNaNx.ulpis+Infwhenxis+Infor-Inf0.0.ulpisDouble.MIN_VALUE