---
title: "vtanhf(_:)"
framework: accelerate
role: symbol
role_heading: Function
path: "accelerate/vtanhf(_:)"
---

# vtanhf(_:)

For each vector element, calculates the hyperbolic tangent of X.

## Declaration

```swift
func vtanhf(_: vFloat) -> vFloat
```

## See Also

### Hyperbolic Functions (from vfp.h)

- [vsinhf(_:)](accelerate/vsinhf(_:).md)
- [vcoshf(_:)](accelerate/vcoshf(_:).md)
- [vasinhf(_:)](accelerate/vasinhf(_:).md)
- [vacoshf(_:)](accelerate/vacoshf(_:).md)
- [vatanhf(_:)](accelerate/vatanhf(_:).md)
