---
title: "fma(_:_:_:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/fma(_:_:_:)-49crk"
---

# fma(_:_:_:)

Returns the multiply-add result for corresponding elements in three vectors.

## Declaration

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

## Parameters

- `x`: The x in x*y + z.
- `y`: The y in x*y + z.
- `z`: The z in x*y + z.

## Return Value

Return Value The result of x*y + z.

## See Also

### Math Functions

- [cbrt(_:)](simd/cbrt(_:)-3f2k2.md)
- [erf(_:)](simd/erf(_:)-5vzab.md)
- [erfc(_:)](simd/erfc(_:)-1csse.md)
- [fmod(_:_:)](simd/fmod(_:_:)-8fmuq.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)
