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

# tanh(_:)

Returns the hyperbolic tangent of each element in a vector.

## Declaration

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

## See Also

### Hyperbolic Functions

- [acosh(_:)](simd/acosh(_:)-5ye64.md)
- [asinh(_:)](simd/asinh(_:)-1uw5q.md)
- [atanh(_:)](simd/atanh(_:)-95265.md)
- [cosh(_:)](simd/cosh(_:)-6rb1l.md)
- [sinh(_:)](simd/sinh(_:)-43ijd.md)
