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

# rint(_:)

Each element of the result is the corresponding element of the input rounded to the nearest integer, using the current rounding mode.

## Declaration

```swift
func rint(_ x: simd_half2) -> simd_half2
```
