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

# tanh(_:)

Returns the hyperbolic tangent of each element in a vector.

## Declaration

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

## See Also

### Hyperbolic Functions

- [acosh(_:)](simd/acosh(_:)-2zf9d.md)
- [asinh(_:)](simd/asinh(_:)-5vu4r.md)
- [atanh(_:)](simd/atanh(_:)-d3b3.md)
- [cosh(_:)](simd/cosh(_:)-1g57o.md)
- [sinh(_:)](simd/sinh(_:)-ip9w.md)
