Contents

Double

A double-precision (64-bit), floating-point value type.

Declaration

@frozen struct Double

Topics

Converting Integers

Converting Strings

Converting Floating-Point Values

Converting with No Loss of Precision

Creating a Random Value

Performing Calculations

Rounding Values

Comparing Values

Finding the Sign and Magnitude

Querying a Double

Accessing Numeric Constants

Working with Binary Representation

Querying a Double’s State

Encoding and Decoding Values

Creating a Range

Describing a Double

Infrequently Used Functionality

SIMD-Supporting Types

Deprecated

Type Aliases

Type Properties

Default Implementations

See Also

Standard Library