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

`immutable locked class double`

Class `double`

contains the methods that can be called on `double`

values.

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)` |
`abs()` Returns a non-negative version of the current value. |

`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)` |
`max(double other)` Finds the maximum of the current value and another |

`public readonly locked` |
`(double)` |
`min(double other)` Finds the minimum of the current value and another |

`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 create() => ()`

`public destroy() => ()`

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

Returns a non-negative version of the current value.

non-negative value

`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 max(double other) => (double)`

Finds the maximum of the current value and another `double`

.

`other`

- value

maximum value

`public readonly locked min(double other) => (double)`

Finds the minimum of the current value and another `double`

.

`other`

- value

minimum value

`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)`