---
title: "fmod(_:_:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/fmod(_:_:)-8fmuq"
---

# fmod(_:_:)

Returns the modulus after dividing each element in a vector by the corresponding element in a second vector.

## Declaration

```swift
func fmod(_ x: simd_float8, _ y: simd_float8) -> simd_float8
```

## See Also

### Math Functions

- [cbrt(_:)](simd/cbrt(_:)-3f2k2.md)
- [erf(_:)](simd/erf(_:)-5vzab.md)
- [erfc(_:)](simd/erfc(_:)-1csse.md)
- [fma(_:_:_:)](simd/fma(_:_:_:)-49crk.md)
- [hypot(_:_:)](simd/hypot(_:_:)-47t8e.md)
- [lgamma(_:)](simd/lgamma(_:)-9g2rk.md)
- [nextafter(_:_:)](simd/nextafter(_:_:)-sc7d.md)
- [pow(_:_:)](simd/pow(_:_:)-nk2t.md)
- [remainder(_:_:)](simd/remainder(_:_:)-7l2wd.md)
- [round(_:)](simd/round(_:)-1ffcx.md)
- [simd_muladd(_:_:_:)](simd/simd_muladd(_:_:_:)-3v5t5.md)
- [tgamma(_:)](simd/tgamma(_:)-6tafl.md)
