Core API – Kotlin Programming Language (original) (raw)
Double
Represents a double-precision 64-bit IEEE 754 floating point number.
Since Kotlin
1.0
Represents a double-precision 64-bit IEEE 754 floating point number.
Since Kotlin
1.1
Represents a double-precision 64-bit IEEE 754 floating point number. On the JVM, non-nullable values of this type are represented as values of the primitive type double.
Since Kotlin
1.0
Represents a double-precision 64-bit IEEE 754 floating point number.
Since Kotlin
1.3
Represents a double-precision 64-bit IEEE 754 floating point number.
Since Kotlin
1.8
Represents a double-precision 64-bit IEEE 754 floating point number.
Since Kotlin
1.8
Returns the absolute value of this value.
Returns the absolute value of this value.
Returns the absolute value of this value.
Returns the absolute value of this value.
Returns the absolute value of this value.
Returns the absolute value of this value.
Returns the sign of this value:
Returns the sign of this value:
Returns the sign of this value:
Returns the sign of this value:
Returns the sign of this value:
Returns the sign of this value:
Returns the ulp (unit in the last place) of this value.
Returns the ulp (unit in the last place) of this value.
Returns the ulp (unit in the last place) of this value.
Returns the ulp (unit in the last place) of this value.
Returns the ulp (unit in the last place) of this value.
Returns the ulp (unit in the last place) of this value.
Ensures that this value is not less than the specified minimumValue.
Ensures that this value is not greater than the specified maximumValue.
Compares this value with the specified value for order. Returns zero if this value is equal to the specified other value, a negative number if it's less than other, or a positive number if it's greater than other.
Compares this value with the specified value for order. Returns zero if this value is equal to the specified other value, a negative number if it's less than other, or a positive number if it's greater than other.
Compares this value with the specified value for order. Returns zero if this value is equal to the specified other value, a negative number if it's less than other, or a positive number if it's greater than other.
Compares this value with the specified value for order. Returns zero if this value is equal to the specified other value, a negative number if it's less than other, or a positive number if it's greater than other.
Compares this value with the specified value for order. Returns zero if this value is equal to the specified other value, a negative number if it's less than other, or a positive number if it's greater than other.
Compares this value with the specified value for order. Returns zero if this value is equal to the specified other value, a negative number if it's less than other, or a positive number if it's greater than other.
Compares this object with the specified object for order. Returns zero if this object is equal to the specified other object, a negative number if it's less than other, or a positive number if it's greater than other.
Returns this value decremented by one.
Returns this value decremented by one.
Returns this value decremented by one.
actual operator external fun dec(): Double
Returns this value decremented by one.
actual inline operator fun dec(): Double
Returns this value decremented by one.
actual inline operator fun dec(): Double
Returns this value decremented by one.
Divides this value by the other value.
Divides this value by the other value.
Divides this value by the other value.
actual inline operator fun div(other: Int): Double
Divides this value by the other value.
actual inline operator fun div(other: Int): Double
Divides this value by the other value.
actual inline operator fun div(other: Int): Double
Divides this value by the other value.
Indicates whether some other object is "equal to" this one.
Indicates whether some other object is "equal to" this one.
Indicates whether some other object is "equal to" this one.
Indicates whether some other object is "equal to" this one.
Indicates whether some other object is "equal to" this one.
Indicates whether some other object is "equal to" this one.
Returns a hash code value for the object.
Returns a hash code value for the object.
Returns a hash code value for the object.
Returns a hash code value for the object.
Returns a hash code value for the object.
Computes the remainder of division of this value by the divisor value according to the IEEE 754 standard.
Computes the remainder of division of this value by the divisor value according to the IEEE 754 standard.
Returns this value incremented by one.
Returns this value incremented by one.
Returns this value incremented by one.
actual operator external fun inc(): Double
Returns this value incremented by one.
actual inline operator fun inc(): Double
Returns this value incremented by one.
actual inline operator fun inc(): Double
Returns this value incremented by one.
Returns true if the argument is a finite floating-point value; returns false otherwise (for NaN and infinity arguments).
Returns true if the argument is a finite floating-point value; returns false otherwise (for NaN and infinity arguments).
Returns true if the argument is a finite floating-point value; returns false otherwise (for NaN and infinity arguments).
Returns true if the argument is a finite floating-point value; returns false otherwise (for NaN and infinity arguments).
Returns true if the argument is a finite floating-point value; returns false otherwise (for NaN and infinity arguments).
Returns true if the argument is a finite floating-point value; returns false otherwise (for NaN and infinity arguments).
Returns true if this value is infinitely large in magnitude.
Returns true if this value is infinitely large in magnitude.
Returns true if this value is infinitely large in magnitude.
Returns true if this value is infinitely large in magnitude.
Returns true if this value is infinitely large in magnitude.
Returns true if this value is infinitely large in magnitude.
Returns true if the specified number is a Not-a-Number (NaN) value, false otherwise.
Returns true if the specified number is a Not-a-Number (NaN) value, false otherwise.
Returns true if the specified number is a Not-a-Number (NaN) value, false otherwise.
Returns true if the specified number is a Not-a-Number (NaN) value, false otherwise.
Returns true if the specified number is a Not-a-Number (NaN) value, false otherwise.
Returns true if the specified number is a Not-a-Number (NaN) value, false otherwise.
Subtracts the other value from this value.
Subtracts the other value from this value.
Subtracts the other value from this value.
Subtracts the other value from this value.
Subtracts the other value from this value.
Subtracts the other value from this value.
Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
Returns the Double value nearest to this value in direction of negative infinity.
Returns the Double value nearest to this value in direction of negative infinity.
Returns the Double value nearest to this value in direction of negative infinity.
Returns the Double value nearest to this value in direction of negative infinity.
Returns the Double value nearest to this value in direction of negative infinity.
Returns the Double value nearest to this value in direction of negative infinity.
Returns the Double value nearest to this value in direction from this value towards the value to.
Returns the Double value nearest to this value in direction from this value towards the value to.
Returns the Double value nearest to this value in direction from this value towards the value to.
Returns the Double value nearest to this value in direction from this value towards the value to.
Returns the Double value nearest to this value in direction from this value towards the value to.
Returns the Double value nearest to this value in direction from this value towards the value to.
Returns the Double value nearest to this value in direction of positive infinity.
Returns the Double value nearest to this value in direction of positive infinity.
Returns the Double value nearest to this value in direction of positive infinity.
Returns the Double value nearest to this value in direction of positive infinity.
Returns the Double value nearest to this value in direction of positive infinity.
Returns the Double value nearest to this value in direction of positive infinity.
Adds the other value to this value.
Adds the other value to this value.
Adds the other value to this value.
Adds the other value to this value.
Adds the other value to this value.
Adds the other value to this value.
Raises this value to the power x.
Raises this value to the integer power n.
Raises this value to the power x.
Raises this value to the integer power n.
Raises this value to the power x.
Raises this value to the integer power n.
Raises this value to the power x.
Raises this value to the integer power n.
Raises this value to the power x.
Raises this value to the integer power n.
Raises this value to the power x.
Raises this value to the integer power n.
Creates a range from this Double value to the specified that value.
Creates an open-ended range from this Double value to the specified that value.
Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).
Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).
Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).
actual inline operator fun rem(other: Int): Double
Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).
actual inline operator fun rem(other: Int): Double
Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).
actual inline operator fun rem(other: Int): Double
Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).
Rounds this Double value to the nearest integer and converts the result to Int. Ties are rounded towards positive infinity.
Rounds this Double value to the nearest integer and converts the result to Int. Ties are rounded towards positive infinity.
Rounds this Double value to the nearest integer and converts the result to Int. Ties are rounded towards positive infinity.
Rounds this Double value to the nearest integer and converts the result to Int. Ties are rounded towards positive infinity.
Rounds this Double value to the nearest integer and converts the result to Int. Ties are rounded towards positive infinity.
Rounds this Double value to the nearest integer and converts the result to Int. Ties are rounded towards positive infinity.
Rounds this Double value to the nearest integer and converts the result to Long. Ties are rounded towards positive infinity.
Rounds this Double value to the nearest integer and converts the result to Long. Ties are rounded towards positive infinity.
Rounds this Double value to the nearest integer and converts the result to Long. Ties are rounded towards positive infinity.
Rounds this Double value to the nearest integer and converts the result to Long. Ties are rounded towards positive infinity.
Rounds this Double value to the nearest integer and converts the result to Long. Ties are rounded towards positive infinity.
Rounds this Double value to the nearest integer and converts the result to Long. Ties are rounded towards positive infinity.
Multiplies this value by the other value.
Multiplies this value by the other value.
Multiplies this value by the other value.
Multiplies this value by the other value.
Multiplies this value by the other value.
Multiplies this value by the other value.
Returns a duration whose value is the specified duration value multiplied by this number.
Returns a bit representation of the specified floating-point value as Long according to the IEEE 754 floating-point "double format" bit layout.
Returns a bit representation of the specified floating-point value as Long according to the IEEE 754 floating-point "double format" bit layout.
Returns a bit representation of the specified floating-point value as Long according to the IEEE 754 floating-point "double format" bit layout.
Returns a bit representation of the specified floating-point value as Long according to the IEEE 754 floating-point "double format" bit layout.
Returns a bit representation of the specified floating-point value as Long according to the IEEE 754 floating-point "double format" bit layout.
Returns a bit representation of the specified floating-point value as Long according to the IEEE 754 floating-point "double format" bit layout.
Returns a bit representation of the specified floating-point value as Long according to the IEEE 754 floating-point "double format" bit layout, preserving NaN values exact layout.
Returns a bit representation of the specified floating-point value as Long according to the IEEE 754 floating-point "double format" bit layout, preserving NaN values exact layout.
Returns a bit representation of the specified floating-point value as Long according to the IEEE 754 floating-point "double format" bit layout, preserving NaN values exact layout.
Returns a bit representation of the specified floating-point value as Long according to the IEEE 754 floating-point "double format" bit layout, preserving NaN values exact layout.
Returns a bit representation of the specified floating-point value as Long according to the IEEE 754 floating-point "double format" bit layout, preserving NaN values exact layout.
Returns a bit representation of the specified floating-point value as Long according to the IEEE 754 floating-point "double format" bit layout, preserving NaN values exact layout.
Returns a string representation of the object.
Returns a string representation of the object.
Returns a string representation of the object.
Returns the string representation of this Double value.
Returns a string representation of the object.
Returns a string representation of the object.
Returns the negative of this value.
Returns the negative of this value.
Returns the negative of this value.
Returns the negative of this value.
Returns the negative of this value.
Returns the negative of this value.
Returns this value with the sign bit same as of the sign value.
Returns this value with the sign bit same as of the sign value.
Returns this value with the sign bit same as of the sign value.
Returns this value with the sign bit same as of the sign value.
Returns this value with the sign bit same as of the sign value.
Returns this value with the sign bit same as of the sign value.