Creates a new instance from the specified sign and bit patterns.
Required.
SDK
- Xcode 8.0+
Framework
- Swift Standard Library
Declaration
init(sign: FloatingPointSign , exponentBitPattern: Self.RawExponent, significandBitPattern: Self.RawSignificand)
Parameters
signThe sign of the new value.
exponentBitPatternThe bit pattern to use for the exponent field of the new value.
significandBitPatternThe bit pattern to use for the significand field of the new value.
Discussion
The values passed as exponent and significand are interpreted in the binary interchange format defined by the IEEE 754 specification.