W3cubDocs

/Kotlin

nextUp

inline fun Double.nextUp(): Double

Platform and version requirements: Kotlin 1.2

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

inline fun Float.nextUp(): Float

Platform and version requirements: Kotlin 1.2, JVM

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

© 2010–2018 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.math/next-up.html