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

# floor(_:)

Returns the floor of each element in a vector.

## Declaration

```swift
func floor(_ x: SIMD2<Float>) -> SIMD2<Float>
```

## See Also

### Math Functions

- [cbrt(_:)](simd/cbrt(_:)-1t3k.md)
- [ceil(_:)](simd/ceil(_:)-8j6zo.md)
- [erf(_:)](simd/erf(_:)-1unjp.md)
- [erfc(_:)](simd/erfc(_:)-1hisg.md)
- [fma(_:_:_:)](simd/fma(_:_:_:)-69k8u.md)
- [fmod(_:_:)](simd/fmod(_:_:)-566aw.md)
- [hypot(_:_:)](simd/hypot(_:_:)-1zs4i.md)
- [lgamma(_:)](simd/lgamma(_:)-1ksbv.md)
- [nextafter(_:_:)](simd/nextafter(_:_:)-8mat0.md)
- [pow(_:_:)](simd/pow(_:_:)-15e0y.md)
- [remainder(_:_:)](simd/remainder(_:_:)-37wwd.md)
- [round(_:)](simd/round(_:)-608of.md)
- [simd_muladd(_:_:_:)](simd/simd_muladd(_:_:_:)-45h2k.md)
- [tgamma(_:)](simd/tgamma(_:)-2aqvi.md)
- [trunc(_:)](simd/trunc(_:)-6neoe.md)
