---
title: "min(_:_:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/min(_:_:)-735cl"
---

# min(_:_:)

Elementwise minimum of two vectors.  Each component of the result is the smaller of the corresponding component of the inputs.

## Declaration

```swift
func min(_ x: simd_half2, _ y: simd_half2) -> simd_half2
```
