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

# 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_half32) -> simd_half32
```
