Creates a new instance with the same memory representation as the given value.
SDK
- Xcode 6.0.1+
Framework
- Swift Standard Library
Declaration
Parameters
x
A value to use as the source of the new instance’s binary representation.
Discussion
This initializer does not perform any range or overflow checking. The resulting instance may not have the same numeric value as bit
—it is only guaranteed to use the same pattern of bits in its binary representation.