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

# 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_half4) -> simd_half4
```
