Contents

init(bitPattern:)

Creates a new value with the given bit pattern.

Declaration

init(bitPattern: UInt16)

Parameters

  • bitPattern:

    The integer encoding of a Float16 instance.

Discussion

The value passed as bitPattern is interpreted in the binary interchange format defined by the IEEE 754 specification.