---
title: "floor(_:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/floor(_:)-51eh3"
---

# floor(_:)

Each element of the result is the largest integral value less than or equal to the corresponding element of the input.

## Declaration

```swift
func floor(_ x: simd_half16) -> simd_half16
```
