max

inline actual fun max(a: Double, b: Double): Double (source)

Platform and version requirements: Kotlin 1.2

inline actual fun max(a: Float, b: Float): Float (source)

Platform and version requirements: Kotlin 1.2

Returns the greater of two values.

If either value is NaN, then the result is NaN.

inline actual fun max(a: Int, b: Int): Int (source)

Platform and version requirements: Kotlin 1.2

inline actual fun max(a: Long, b: Long): Long (source)

Platform and version requirements: Kotlin 1.2

Returns the greater of two values.