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

# fma(_:_:_:)

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

## Declaration

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

## 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(_:)-9dsjc.md)
- [erf(_:)](simd/erf(_:)-293ey.md)
- [erfc(_:)](simd/erfc(_:)-vzkw.md)
- [fmod(_:_:)](simd/fmod(_:_:)-7g7m.md)
- [hypot(_:_:)](simd/hypot(_:_:)-8vke8.md)
- [lgamma(_:)](simd/lgamma(_:)-7t6g8.md)
- [nextafter(_:_:)](simd/nextafter(_:_:)-2xerr.md)
- [pow(_:_:)](simd/pow(_:_:)-9xmzf.md)
- [remainder(_:_:)](simd/remainder(_:_:)-326ci.md)
- [round(_:)](simd/round(_:)-7t6q.md)
- [simd_muladd(_:_:_:)](simd/simd_muladd(_:_:_:)-2vs0c.md)
- [tgamma(_:)](simd/tgamma(_:)-8qiri.md)
