Companion

Since Kotlin

1.0

Since Kotlin

1.3

Properties

Link copied to clipboard
const val MAX_VALUE: Double = 1.7976931348623157E308

A constant holding the largest positive finite value of Double.

Since Kotlin 1.0
const val MAX_VALUE: Double = 1.7976931348623157E308

A constant holding the largest positive finite value of Double.

Since Kotlin 1.3
Link copied to clipboard
const val MIN_VALUE: Double = 4.9E-324

A constant holding the smallest positive nonzero value of Double.

Since Kotlin 1.0
const val MIN_VALUE: Double = 4.9E-324

A constant holding the smallest positive nonzero value of Double.

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

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

Since Kotlin 1.0
const val NaN: Double

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

Since Kotlin 1.3
Link copied to clipboard

A constant holding the negative infinity value of Double.

Since Kotlin 1.0

A constant holding the negative infinity value of Double.

Since Kotlin 1.3
Link copied to clipboard

A constant holding the positive infinity value of Double.

Since Kotlin 1.0

A constant holding the positive infinity value of Double.

Since Kotlin 1.3
Link copied to clipboard
const val SIZE_BITS: Int = 64

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

Since Kotlin 1.4
const val SIZE_BITS: Int = 64

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

Since Kotlin 1.4
Link copied to clipboard
const val SIZE_BYTES: Int = 8

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

Since Kotlin 1.4
const val SIZE_BYTES: Int = 8

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

Since Kotlin 1.4

Functions

Link copied to clipboard

Returns the Double value corresponding to a given bit representation.

Since Kotlin 1.2
actual inline fun Double.Companion.fromBits(bits: Long): Double

Returns the Double value corresponding to a given bit representation.

Since Kotlin 1.2
actual inline fun Double.Companion.fromBits(bits: Long): Double

Returns the Double value corresponding to a given bit representation.

Since Kotlin 1.2
actual inline fun Double.Companion.fromBits(bits: Long): Double

Returns the Double value corresponding to a given bit representation.

Since Kotlin 1.3