Initializer

init(sign:exponentBitPattern:significandBitPattern:)

Creates a new instance from the specified sign and bit patterns. 指定された符号とビットパターンから新しいインスタンスを作成します。

Declaration 宣言

init(sign: FloatingPointSign, exponentBitPattern: Self.RawExponent, significandBitPattern: Self.RawSignificand)

Parameters パラメータ

sign

The sign of the new value. 新しい値の符号。

exponentBitPattern

The bit pattern to use for the exponent field of the new value. 新しい値の指数フィールドに使うためのビットパターン。

significandBitPattern

The bit pattern to use for the significand field of the new value. 新しい値の仮数フィールドに使うためのビットパターン。

Discussion 解説

The values passed as exponentBitPattern and significandBitPattern are interpreted in the binary interchange format defined by the IEEE 754 specification. exponentBitPatternsignificandBitPatternに渡される値は、IEEE 754 specificationで定義されるバイナリ交換フォーマットにおいて解釈されます。

See Also 参照

Working with Binary Representation バイナリ表現を扱う