Companion

Since Kotlin

1.0

Since Kotlin

1.3

Properties

Link copied to clipboard
const val MAX_VALUE: Float = 3.4028235E38f

A constant holding the largest positive finite value of Float.

Since Kotlin 1.0
const val MAX_VALUE: Float = 3.4028235E38f

A constant holding the largest positive finite value of Float.

Since Kotlin 1.3
Link copied to clipboard
const val MIN_VALUE: Float = 1.4E-45f

A constant holding the smallest positive nonzero value of Float.

Since Kotlin 1.0
const val MIN_VALUE: Float = 1.4E-45f

A constant holding the smallest positive nonzero value of Float.

Since Kotlin 1.3
Link copied to clipboard
const val NaN: Float

A constant holding the "not a number" value of Float.

Since Kotlin 1.0
const val NaN: Float

A constant holding the "not a number" value of Float.

Since Kotlin 1.3
Link copied to clipboard

A constant holding the negative infinity value of Float.

Since Kotlin 1.0

A constant holding the negative infinity value of Float.

Since Kotlin 1.3
Link copied to clipboard

A constant holding the positive infinity value of Float.

Since Kotlin 1.0

A constant holding the positive infinity value of Float.

Since Kotlin 1.3

Functions

Link copied to clipboard
expect fun Float.Companion.fromBits(bits: Int): Float

Returns the Float value corresponding to a given bit representation.

Since Kotlin 1.2
actual inline fun Float.Companion.fromBits(bits: Int): Float

Returns the Float value corresponding to a given bit representation.

Since Kotlin 1.2
actual inline fun Float.Companion.fromBits(bits: Int): Float

Returns the Float value corresponding to a given bit representation.

Since Kotlin 1.2
actual inline fun Float.Companion.fromBits(bits: Int): Float

Returns the Float value corresponding to a given bit representation.

Since Kotlin 1.3