shadow:standard@FloatingPoint<double>, shadow:standard@CanHash

`immutable locked class double`

Class `double`

contains the methods that can be called on `double`

values.

Modifiers | Type | Name and Description |
---|---|---|

`public immutable constant` |
`double` |
`PI` Closest |

`public immutable constant` |
`double` |
`E` Closest |

`public immutable constant` |
`double` |
`NaN` Constant representing one of the 64-bit not-a-number values supported by the IEEE 754 standard. |

`public immutable constant` |
`double` |
`INFINITY` Constant representing positive infinity with 64 bits in the IEEE 754 standard. |

`public immutable constant` |
`double` |
`NEGATIVE_INFINITY` Constant representing negative infinity with 64 bits in the IEEE 754 standard. |

Modifiers | Return Types | Method and Description |
---|---|---|

`public` |
`()` |
`create()` |

Modifiers | Return Types | Method and Description |
---|---|---|

`public` |
`()` |
`destroy()` |

Modifiers | Return Types | Method and Description |
---|---|---|

`public readonly locked` |
`(double)` |
`add(double other)` |

`public readonly locked` |
`(double)` |
`ceiling()` |

`public readonly locked` |
`(int)` |
`compare(double other)` |

`public readonly` |
`(double)` |
`copy(AddressMap addresses)` |

`public readonly locked` |
`(double)` |
`cos()` |

`public readonly locked` |
`(double)` |
`divide(double other)` |

`public readonly locked` |
`(boolean)` |
`equal(double other)` |

`public readonly locked` |
`(double)` |
`floor()` |

`public readonly locked` |
`(boolean)` |
`isFinite()` Checks to see if the current value represents an IEEE 754 value for a finite number. |

`public readonly locked` |
`(boolean)` |
`isInfinite()` Checks to see if the current value represents an IEEE 754 value for positive or negative infinity. |

`public readonly locked` |
`(boolean)` |
`isNaN()` Checks to see if the current value represents an IEEE 754 not-a-number value. |

`public readonly locked` |
`(double)` |
`logBase10()` |

`public readonly locked` |
`(double)` |
`logBase2()` |

`public readonly locked` |
`(double)` |
`logBaseE()` |

`public readonly locked` |
`(double)` |
`modulus(double other)` |

`public readonly locked` |
`(double)` |
`multiply(double other)` |

`public readonly locked` |
`(double)` |
`negate()` |

`public readonly locked` |
`(double)` |
`power(double value)` |

`public readonly locked` |
`(double)` |
`power(int value)` |

`public readonly locked` |
`(double)` |
`round()` Rounds the current |

`public readonly locked` |
`(double)` |
`sin()` |

`public readonly locked` |
`(double)` |
`squareRoot()` |

`public readonly locked` |
`(double)` |
`subtract(double other)` |

`public readonly locked` |
`(double)` |
`tan()` |

`public readonly locked` |
`(byte)` |
`toByte()` |

`public readonly locked` |
`(code)` |
`toCode()` |

`public readonly locked` |
`(double)` |
`toDouble()` |

`public readonly locked` |
`(float)` |
`toFloat()` |

`public readonly locked` |
`(int)` |
`toInt()` |

`public readonly locked` |
`(long)` |
`toLong()` |

`public readonly locked` |
`(short)` |
`toShort()` |

`public readonly locked` |
`(String)` |
`toString()` Returns a |

`public readonly locked` |
`(String)` |
`toString(int maxPrecision, int integerThreshold, int fractionalThreshold)` Returns a |

`public readonly locked` |
`(ubyte)` |
`toUByte()` |

`public readonly locked` |
`(uint)` |
`toUInt()` |

`public readonly locked` |
`(ulong)` |
`toULong()` |

`public readonly locked` |
`(ushort)` |
`toUShort()` |

Modifiers | Return Types | Method and Description |
---|---|---|

`public readonly get locked` |
`(ulong)` |
`bits()` Retrieves the representation of 64-bits that makes up the current |

`public readonly get locked` |
`(ulong)` |
`hash()` Finds a hash value for the current value. |

`public readonly get locked` |
`(ulong)` |
`raw()` |

`public immutable constant double PI`

Closest `double`

to the mathematical constant pi, the ratio of a circle's circumference to its diameter, approximately 3.141592653589793.

`public immutable constant double E`

Closest `double`

to the mathematical constant e, the base of the natural logarithm, approximately 2.718281828459045.

`public immutable constant double NaN`

Constant representing one of the 64-bit not-a-number values supported by the IEEE 754 standard.

`public immutable constant double INFINITY`

Constant representing positive infinity with 64 bits in the IEEE 754 standard.

`public immutable constant double NEGATIVE_INFINITY`

Constant representing negative infinity with 64 bits in the IEEE 754 standard.

`public create() => ()`

`public destroy() => ()`

`public readonly locked ceiling() => (double)`

`public readonly copy(AddressMap addresses) => (double)`

`public readonly locked cos() => (double)`

`public readonly locked floor() => (double)`

`public readonly locked isFinite() => (boolean)`

Checks to see if the current value represents an IEEE 754 value for a finite number.

`true`

if the current value is finite

`public readonly locked isInfinite() => (boolean)`

Checks to see if the current value represents an IEEE 754 value for positive or negative infinity.

`true`

if the current value is infinite

`public readonly locked isNaN() => (boolean)`

Checks to see if the current value represents an IEEE 754 not-a-number value.

`true`

if the current value is not a number

`public readonly locked logBase10() => (double)`

`public readonly locked logBase2() => (double)`

`public readonly locked logBaseE() => (double)`

`public readonly locked negate() => (double)`

`public readonly locked round() => (double)`

Rounds the current `double`

value to the nearest integer.

current value rounded to the nearest integer

`public readonly locked sin() => (double)`

`public readonly locked squareRoot() => (double)`

`public readonly locked tan() => (double)`

`public readonly locked toByte() => (byte)`

`public readonly locked toCode() => (code)`

`public readonly locked toDouble() => (double)`

`public readonly locked toFloat() => (float)`

`public readonly locked toInt() => (int)`

`public readonly locked toLong() => (long)`

`public readonly locked toShort() => (short)`

`public readonly locked toString() => (String)`

Returns a `String`

representation of the value, in base 10, with a maximum precision of 17 decimal digits, a threshold of 7 integer digits before scientific notation is used, and a threshold of 3 fractional digits without integer digits before scientific notation is used.

`String`

representation

`public readonly locked toString(int maxPrecision, int integerThreshold, int fractionalThreshold) => (String)`

Returns a `String`

representation of the value, in base 10, with the specificed maximum precision of decimal digits, the specified threshold of integer digits before scientific notation is used, and the specified threshold of fractional digits without integer digits before scientific notation is used.

`String`

representation

`public readonly locked toUByte() => (ubyte)`

`public readonly locked toUInt() => (uint)`

`public readonly locked toULong() => (ulong)`

`public readonly locked toUShort() => (ushort)`

`public readonly get locked bits() => (ulong)`

Retrieves the representation of 64-bits that makes up the current `double`

value, as a `ulong`

, except that all NaN values are treated as the same value.

bit representation of `double`

value

`public readonly get locked hash() => (ulong)`

Finds a hash value for the current value.

hash value

`public readonly get locked raw() => (ulong)`