Companion

expect object Companion(source)

Since Kotlin

1.0
actual object Companion(source)

Since Kotlin

1.1

Since Kotlin

1.0
actual object Companion(source)

Since Kotlin

1.3
actual object Companion(source)

Since Kotlin

1.8
actual object Companion(source)

Since Kotlin

1.8

Properties

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

A constant holding the largest positive finite value of Float.

Since Kotlin 1.0
actual const val MAX_VALUE: Float = 3.4028235E38f

A constant holding the largest positive finite value of Float.

Since Kotlin 1.1
const val MAX_VALUE: Float = 3.4028235E38f

A constant holding the largest positive finite value of Float.

Since Kotlin 1.0
actual const val MAX_VALUE: Float = 3.4028235E38f

A constant holding the largest positive finite value of Float.

Since Kotlin 1.3
actual const val MAX_VALUE: Float = 3.4028235E38f

A constant holding the largest positive finite value of Float.

Since Kotlin 1.8
actual const val MAX_VALUE: Float = 3.4028235E38f

A constant holding the largest positive finite value of Float.

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

A constant holding the smallest positive nonzero value of Float.

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

A constant holding the smallest positive nonzero value of Float.

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

A constant holding the smallest positive nonzero value of Float.

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

A constant holding the smallest positive nonzero value of Float.

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

A constant holding the smallest positive nonzero value of Float.

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

A constant holding the smallest positive nonzero value of Float.

Since Kotlin 1.8
Link copied to clipboard
expect const val NaN: Float

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

Since Kotlin 1.0
actual const val NaN: Float

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

Since Kotlin 1.1
const val NaN: Float

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

Since Kotlin 1.0
actual const val NaN: Float

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

Since Kotlin 1.3
actual const val NaN: Float

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

Since Kotlin 1.8
actual const val NaN: Float

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

Since Kotlin 1.8
Link copied to clipboard
expect const val NEGATIVE_INFINITY: Float

A constant holding the negative infinity value of Float.

Since Kotlin 1.0
actual const val NEGATIVE_INFINITY: Float

A constant holding the negative infinity value of Float.

Since Kotlin 1.1

A constant holding the negative infinity value of Float.

Since Kotlin 1.0
actual const val NEGATIVE_INFINITY: Float

A constant holding the negative infinity value of Float.

Since Kotlin 1.3
actual const val NEGATIVE_INFINITY: Float

A constant holding the negative infinity value of Float.

Since Kotlin 1.8
actual const val NEGATIVE_INFINITY: Float

A constant holding the negative infinity value of Float.

Since Kotlin 1.8
Link copied to clipboard
expect const val POSITIVE_INFINITY: Float

A constant holding the positive infinity value of Float.

Since Kotlin 1.0
actual const val POSITIVE_INFINITY: Float

A constant holding the positive infinity value of Float.

Since Kotlin 1.1

A constant holding the positive infinity value of Float.

Since Kotlin 1.0
actual const val POSITIVE_INFINITY: Float

A constant holding the positive infinity value of Float.

Since Kotlin 1.3
actual const val POSITIVE_INFINITY: Float

A constant holding the positive infinity value of Float.

Since Kotlin 1.8
actual const val POSITIVE_INFINITY: Float

A constant holding the positive infinity value of Float.

Since Kotlin 1.8
Link copied to clipboard
expect const val SIZE_BITS: Int = 32

The number of bits used to represent an instance of Float in a binary form.

Since Kotlin 1.4
actual const val SIZE_BITS: Int = 32

The number of bits used to represent an instance of Float in a binary form.

Since Kotlin 1.4
const val SIZE_BITS: Int = 32

The number of bits used to represent an instance of Float in a binary form.

Since Kotlin 1.4
actual const val SIZE_BITS: Int = 32

The number of bits used to represent an instance of Float in a binary form.

Since Kotlin 1.4
actual const val SIZE_BITS: Int = 32

The number of bits used to represent an instance of Float in a binary form.

Since Kotlin 1.8
actual const val SIZE_BITS: Int = 32

The number of bits used to represent an instance of Float in a binary form.

Since Kotlin 1.8
Link copied to clipboard
expect const val SIZE_BYTES: Int = 4

The number of bytes used to represent an instance of Float in a binary form.

Since Kotlin 1.4
actual const val SIZE_BYTES: Int = 4

The number of bytes used to represent an instance of Float in a binary form.

Since Kotlin 1.4
const val SIZE_BYTES: Int = 4

The number of bytes used to represent an instance of Float in a binary form.

Since Kotlin 1.4
actual const val SIZE_BYTES: Int = 4

The number of bytes used to represent an instance of Float in a binary form.

Since Kotlin 1.4
actual const val SIZE_BYTES: Int = 4

The number of bytes used to represent an instance of Float in a binary form.

Since Kotlin 1.8
actual const val SIZE_BYTES: Int = 4

The number of bytes used to represent an instance of Float in a binary form.

Since Kotlin 1.8

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
actual fun Float.Companion.fromBits(bits: Int): Float

Returns the Float value corresponding to a given bit representation.

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

Returns the Float value corresponding to a given bit representation.

Since Kotlin 1.8