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

# 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_half2) -> simd_half2
```
