---
title: "simd_make_half2(_:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/simd_make_half2(_:)-9q31"
---

# simd_make_half2(_:)

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

## Declaration

```swift
func simd_make_half2(_ other: Float16) -> simd_half2
```

## See Also

### Functions to create two-element vectors from scalar values

- [simd_make_half2(_:_:)](simd/simd_make_half2(_:_:).md)
- [simd_make_half2_undef(_:)](simd/simd_make_half2_undef(_:).md)
