nextUp

Common
JVM
JS
Native
1.2
fun Double.nextUp(): Double

Returns the Double value nearest to this value in direction of positive infinity.

JVM
Native
1.2
fun Float.nextUp(): Float

Returns the Float value nearest to this value in direction of positive infinity.