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

# 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_half16) -> simd_half16
```
