scoop:scoop.math:0.1.0
max
public
public fun max(a: Double, b: Double): Double
Returns the larger value, propagating NaN and ordering negative zero first.
public
a: Double
public
b: Double
public
public fun max(a: UInt, b: UInt): UInt
Returns the larger value.
public
a: UInt
public
b: UInt
public
public fun max(a: UShort, b: UShort): UShort
Returns the larger value.
public
a: UShort
public
b: UShort
public
public fun max(a: ULong, b: ULong): ULong
Returns the larger value.
public
a: ULong
public
b: ULong
public
public fun max(a: UByte, b: UByte): UByte
Returns the larger value.
public
b: UByte
public
a: UByte
public
public fun max(a: Byte, b: Byte): Byte
Returns the larger value.
public
a: Byte
public
b: Byte
public
public fun max(a: Long, b: Long): Long
Returns the larger value.
public
a: Long
public
b: Long
public
public fun max(a: Short, b: Short): Short
Returns the larger value.
public
b: Short
public
a: Short
public
public fun max(a: Float, b: Float): Float
Returns the larger value, propagating NaN and ordering negative zero first.
public
a: Float
public
b: Float
public
public fun max(a: Int, b: Int): Int
Returns the larger value.
public
b: Int
public
a: Int