---
title: "tanh(_:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/tanh(_:)-9p88r"
---

# tanh(_:)

Returns the hyperbolic tangent of each element in a vector.

## Declaration

```swift
func tanh(_ x: simd_float4) -> simd_float4
```

## See Also

### Hyperbolic Functions

- [acosh(_:)](simd/acosh(_:)-7sio6.md)
- [asinh(_:)](simd/asinh(_:)-693z8.md)
- [atanh(_:)](simd/atanh(_:)-48wed.md)
- [cosh(_:)](simd/cosh(_:)-5k3hp.md)
- [sinh(_:)](simd/sinh(_:)-4eoxy.md)
