**frost.core**

# Class Real64

`Value`

`Object`

A 64-bit floating point number.

**Source Code:**- View Source

## Constant Summary

## Class Method Summary

(atan2 y :

,Real64 x :

):Real64 Real64 - Returns the counterclockwise angle in radians between the X axis and the point (x, y).

## Field Summary

:value builtin_float64 :abs Real64 - The absolute value of this number.
:floor Real64 - This number rounded down (that is, in the direction of negative infinity) to the nearest integer.
:ceiling Real64 - This number rounded up (that is, in the direction of positive infinity) to the nearest integer.
:sqrt Real64 - The square root of this number.
:sin Real64 - The trigonometric sine of this number.
:cos Real64 - The trigonometric cosine of this number.
:tan Real64 - The trigonometric tangent of this number.
:asin Real64 - The trigonometric arcsine of this number.
:acos Real64 - The trigonometric arccosine of this number.
:atan Real64 - The trigonometric arctangent of this number.
:asInt Int - This number converted to an Int.
:toInt Int - This number converted to an Int.
:asInt8 Int8 - This number converted to an 8 bit signed number.
:toInt8 Int8 - This number converted to an 8 bit signed number.
:asInt16 Int16 - This number converted to a 16 bit signed number.
:toInt16 Int16 - This number converted to a 16 bit signed number.
:asInt32 Int32 - This number converted to a 32 bit signed number.
:toInt32 Int32 - This number converted to a 32 bit signed number.
:asInt64 Int64 - This number converted to a 64 bit signed number.
:toInt64 Int64 - This number converted to a 64 bit signed number.
:asUInt UInt - This number converted to a UInt.
:toUInt UInt - This number converted to a UInt.
:asUInt8 UInt8 - This number converted to an 8 bit unsigned number.
:toUInt8 UInt8 - This number converted to an 8 bit unsigned number.
:asUInt16 UInt16 - This number converted to a 16 bit unsigned number.
:toUInt16 UInt16 - This number converted to a 16 bit unsigned number.
:asUInt32 UInt32 - This number converted to a 32 bit unsigned number.
:toUInt32 UInt32 - This number converted to a 32 bit unsigned number.
:asUInt64 UInt64 - This number converted to a 64 bit unsigned number.
:toUInt64 UInt64 - This number converted to a 64 bit unsigned number.
:asReal32 Real32 - This number converted to a 32 bit floating point number.
:toReal32 Real32 - This number converted to a 32 bit floating point number.
:asReal64 Real64 - This number converted to a 64 bit floating point number.
:toReal64 Real64 - This number converted to a 64 bit floating point number.

## Instance Method Summary

`-- add operator --`

(+ other :

):Real64 Real64 - Adds another number to this number.
`-- subtract operator --`

(- other :

):Real64 Real64 - Subtracts another number from this number.
`-- subtract operator --`

():- Real64 - Returns the negation (additive inverse) of this number
`-- multiply operator --`

(* other :

):Real64 Real64 - Multiplies this number by another number.
`-- divide operator --`

(/ other :

):Int8 Real64 - Divides this number by another number.
`-- divide operator --`

(/ other :

):Int16 Real64 - Divides this number by another number.
`-- divide operator --`

(/ other :

):Int32 Real64 - Divides this number by another number.
`-- divide operator --`

(/ other :

):Int64 Real64 - Divides this number by another number.
`-- divide operator --`

(/ other :

):UInt8 Real64 - Divides this number by another number.
`-- divide operator --`

(/ other :

):UInt16 Real64 - Divides this number by another number.
`-- divide operator --`

(/ other :

):UInt32 Real64 - Divides this number by another number.
`-- divide operator --`

(/ other :

):UInt64 Real64 - Divides this number by another number.
`-- divide operator --`

(/ other :

):Real32 Real64 - Divides this number by another number.
`-- divide operator --`

(/ other :

):Real64 Real64 - Divides this number by another number.
`-- equals operator --`

(= other :

):Real32 Bit - Returns
`true`

if this number is equal to the given number. `-- equals operator --`

(= other :

):Real64 Bit - Returns
`true`

if this number is equal to the given number. `-- not equal operator --`

(!= other :

):Real32 Bit - Returns
`true`

if this number is not equal to the given number. `-- not equal operator --`

(!= other :

):Real64 Bit - Returns
`true`

if this number is not equal to the given number. `-- less than operator --`

(< other :

):Real32 Bit - Returns
`true`

if this number is less than the given number. `-- less than operator --`

(< other :

):Real64 Bit - Returns
`true`

if this number is less than the given number. `-- greater than operator --`

(> other :

):Real32 Bit - Returns
`true`

if this number is greater than the given number. `-- greater than operator --`

(> other :

):Real64 Bit - Returns
`true`

if this number is greater than the given number. `-- greater than or equal operator --`

(>= other :

):Real32 Bit - Returns
`true`

if this number is greater than or equal to the given number. `-- greater than or equal operator --`

(>= other :

):Real64 Bit - Returns
`true`

if this number is greater than or equal to the given number. `-- less than or equal operator --`

(<= other :

):Real32 Bit - Returns
`true`

if this number is less than or equal to the given number. `-- less than or equal operator --`

(<= other :

):Real64 Bit - Returns
`true`

if this number is less than or equal to the given number. (min other :

):Int8 Real64 - Returns the smaller (closest to negative infinity) of this number and another number.
(min other :

):Int16 Real64 - Returns the smaller (closest to negative infinity) of this number and another number.
(min other :

):Int32 Real64 - Returns the smaller (closest to negative infinity) of this number and another number.
(min other :

):Int64 Real64 - Returns the smaller (closest to negative infinity) of this number and another number.
(min other :

):Int Real64 - Returns the smaller (closest to negative infinity) of this number and another number.
(min other :

):UInt8 Real64 - Returns the smaller (closest to negative infinity) of this number and another number.
(min other :

):UInt16 Real64 - Returns the smaller (closest to negative infinity) of this number and another number.
(min other :

):UInt32 Real64 - Returns the smaller (closest to negative infinity) of this number and another number.
(min other :

):UInt64 Real64 - Returns the smaller (closest to negative infinity) of this number and another number.
(min other :

):UInt Real64 - Returns the smaller (closest to negative infinity) of this number and another number.
(max other :

):Int8 Real64 - Returns the larger (closest to positive infinity) of this number and another number.
(max other :

):Int16 Real64 - Returns the larger (closest to positive infinity) of this number and another number.
(max other :

):Int32 Real64 - Returns the larger (closest to positive infinity) of this number and another number.
(max other :

):Int64 Real64 - Returns the larger (closest to positive infinity) of this number and another number.
(max other :

):Int Real64 - Returns the larger (closest to positive infinity) of this number and another number.
(max other :

):UInt8 Real64 - Returns the larger (closest to positive infinity) of this number and another number.
(max other :

):UInt16 Real64 - Returns the larger (closest to positive infinity) of this number and another number.
(max other :

):UInt32 Real64 - Returns the larger (closest to positive infinity) of this number and another number.
(max other :

):UInt64 Real64 - Returns the larger (closest to positive infinity) of this number and another number.
(max other :

):UInt Real64 - Returns the larger (closest to positive infinity) of this number and another number.
(format fmt :

):String String - Returns a formatted representation of this number.

## Constants

## Fields

The absolute value of this number.

This number rounded down (that is, in the direction of negative infinity) to the nearest integer.

This number rounded up (that is, in the direction of positive infinity) to the nearest integer.

The square root of this number.

The trigonometric sine of this number.

The trigonometric cosine of this number.

The trigonometric tangent of this number.

The trigonometric arcsine of this number.

The trigonometric arccosine of this number.

The trigonometric arctangent of this number.

This number converted to an Int. If this number cannot be exactly represented as an Int, a safety violation occurs.

This number converted to an Int.

This number converted to an 8 bit signed number. If this number cannot be exactly represented as an 8 bit signed number, a safety violation occurs.

This number converted to an 8 bit signed number.

This number converted to a 16 bit signed number. If this number cannot be exactly represented as a 16 bit signed number, a safety violation occurs.

This number converted to a 16 bit signed number.

This number converted to a 32 bit signed number. If this number cannot be exactly represented as a 32 bit signed number, a safety violation occurs.

This number converted to a 32 bit signed number.

This number converted to a 64 bit signed number. If this number cannot be exactly represented as a 64 bit signed number, a safety violation occurs.

This number converted to a 64 bit signed number.

This number converted to a UInt. If this number cannot be exactly represented as a UInt, a safety violation occurs.

This number converted to a UInt.

This number converted to an 8 bit unsigned number. If this number cannot be exactly represented as an 8 bit unsigned number, a safety violation occurs.

This number converted to an 8 bit unsigned number.

This number converted to a 16 bit unsigned number. If this number cannot be exactly represented as a 16 bit unsigned number, a safety violation occurs.

This number converted to a 16 bit unsigned number.

This number converted to a 32 bit unsigned number. If this number cannot be exactly represented as a 32 bit unsigned number, a safety violation occurs.

This number converted to a 32 bit unsigned number.

This number converted to a 64 bit unsigned number. If this number cannot be exactly represented as a 64 bit unsigned number, a safety violation occurs.

This number converted to a 64 bit unsigned number.

This number converted to a 32 bit floating point number.

This number converted to a 32 bit floating point number.

This number converted to a 64 bit floating point number.

This number converted to a 64 bit floating point number.

## Class Methods

## Instance Methods

Adds another number to this number.

**Parameters:**-

- value of typeother Real64

Subtracts another number from this number.

**Parameters:**-

- value of typeother Real64

`-- subtract operator --`

function -
():Real64

Returns the negation (additive inverse) of this number

Multiplies this number by another number.

**Parameters:**-

- value of typeother Real64

Divides this number by another number.

**Parameters:**-

- value of typeother Int8

Divides this number by another number.

**Parameters:**-

- value of typeother Int16

Divides this number by another number.

**Parameters:**-

- value of typeother Int32

Divides this number by another number.

**Parameters:**-

- value of typeother Int64

Divides this number by another number.

**Parameters:**-

- value of typeother UInt8

Divides this number by another number.

**Parameters:**-

- value of typeother UInt16

Divides this number by another number.

**Parameters:**-

- value of typeother UInt32

Divides this number by another number.

**Parameters:**-

- value of typeother UInt64

Divides this number by another number.

**Parameters:**-

- value of typeother Real32

Divides this number by another number.

**Parameters:**-

- value of typeother Real64

Returns `true`

if this number is equal to the given number.

**Parameters:**-

- value of typeother Real32

Returns `true`

if this number is equal to the given number.

**Parameters:**-

- value of typeother Real64

**Overrides:**- frost.core.Equatable.=

Returns `true`

if this number is not equal to the given number.

**Parameters:**-

- value of typeother Real32

Returns `true`

if this number is not equal to the given number.

**Parameters:**-

- value of typeother Real64

**Overrides:**- frost.core.Equatable.!=

Returns `true`

if this number is less than the given number.

**Parameters:**-

- value of typeother Real32

Returns `true`

if this number is less than the given number.

**Parameters:**-

- value of typeother Real64

**Overrides:**- frost.core.Comparable.<

Returns `true`

if this number is greater than the given number.

**Parameters:**-

- value of typeother Real32

Returns `true`

if this number is greater than the given number.

**Parameters:**-

- value of typeother Real64

**Overrides:**- frost.core.Comparable.>

Returns `true`

if this number is greater than or equal to the given number.

**Parameters:**-

- value of typeother Real32

Returns `true`

if this number is greater than or equal to the given number.

**Parameters:**-

- value of typeother Real64

**Overrides:**- frost.core.Comparable.>=

Returns `true`

if this number is less than or equal to the given number.

**Parameters:**-

- value of typeother Real32

Returns `true`

if this number is less than or equal to the given number.

**Parameters:**-

- value of typeother Real64

**Overrides:**- frost.core.Comparable.<=

Returns the smaller (closest to negative infinity) of this number and another number.

**Parameters:**-

- value of typeother Int8

Returns the smaller (closest to negative infinity) of this number and another number.

**Parameters:**-

- value of typeother Int16

Returns the smaller (closest to negative infinity) of this number and another number.

**Parameters:**-

- value of typeother Int32

Returns the smaller (closest to negative infinity) of this number and another number.

**Parameters:**-

- value of typeother Int64

Returns the smaller (closest to negative infinity) of this number and another number.

**Parameters:**-

- value of typeother Int

Returns the smaller (closest to negative infinity) of this number and another number.

**Parameters:**-

- value of typeother UInt8

Returns the smaller (closest to negative infinity) of this number and another number.

**Parameters:**-

- value of typeother UInt16

Returns the smaller (closest to negative infinity) of this number and another number.

**Parameters:**-

- value of typeother UInt32

Returns the smaller (closest to negative infinity) of this number and another number.

**Parameters:**-

- value of typeother UInt64

Returns the smaller (closest to negative infinity) of this number and another number.

**Parameters:**-

- value of typeother UInt

Returns the larger (closest to positive infinity) of this number and another number.

**Parameters:**-

- value of typeother Int8

Returns the larger (closest to positive infinity) of this number and another number.

**Parameters:**-

- value of typeother Int16

Returns the larger (closest to positive infinity) of this number and another number.

**Parameters:**-

- value of typeother Int32

Returns the larger (closest to positive infinity) of this number and another number.

**Parameters:**-

- value of typeother Int64

Returns the larger (closest to positive infinity) of this number and another number.

**Parameters:**-

- value of typeother Int

Returns the larger (closest to positive infinity) of this number and another number.

**Parameters:**-

- value of typeother UInt8

Returns the larger (closest to positive infinity) of this number and another number.

**Parameters:**-

- value of typeother UInt16

Returns the larger (closest to positive infinity) of this number and another number.

**Parameters:**-

- value of typeother UInt32

Returns the larger (closest to positive infinity) of this number and another number.

**Parameters:**-

- value of typeother UInt64

Returns the larger (closest to positive infinity) of this number and another number.

**Parameters:**-

- value of typeother UInt

Returns a formatted representation of this number. Supported format strings are `""`

, `"d"`

, or `"D"`

for decimal, `"b"`

or `"B"`

for binary, `"o"`

or `"O"`

for octal, `"x"`

for lowercase hexadecimal, and `"X"`

for uppercase hexadecimal.

**Parameters:**-

- value of typefmt String

**Overrides:**- frost.core.Formattable.format