Contents

simd_make_half2(_:)

Returns a new vector with the first element set to a scalar value, and other elements set to zero.

Declaration

func simd_make_half2(_ other: Float16) -> simd_half2

See Also

Functions to create two-element vectors from scalar values