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

# vvtanh(_:_:_:)

Calculates the hyperbolic tangent of each element in an array of double-precision values.

## Declaration

```swift
func vvtanh(_: UnsafeMutablePointer<Double>, _: UnsafePointer<Double>, _: UnsafePointer<Int32>)
```

## Discussion

Discussion Parameters If x is +/-0, the result preserves the signed zero. If x is +/-inf, the result is +/-1.

## See Also

### Array-Oriented Hyperbolic Functions

- [acosh(_:)](accelerate/vforce/acosh(_:)-1j3qt.md)
- [acosh(_:)](accelerate/vforce/acosh(_:)-8zjay.md)
- [acosh(_:result:)](accelerate/vforce/acosh(_:result:)-4cip0.md)
- [acosh(_:result:)](accelerate/vforce/acosh(_:result:)-2r23w.md)
- [asinh(_:)](accelerate/vforce/asinh(_:)-ue6b.md)
- [asinh(_:)](accelerate/vforce/asinh(_:)-284n7.md)
- [asinh(_:result:)](accelerate/vforce/asinh(_:result:)-7wn57.md)
- [asinh(_:result:)](accelerate/vforce/asinh(_:result:)-17vv4.md)
- [atanh(_:)](accelerate/vforce/atanh(_:)-922d.md)
- [atanh(_:)](accelerate/vforce/atanh(_:)-2t372.md)
- [atanh(_:result:)](accelerate/vforce/atanh(_:result:)-6waj3.md)
- [atanh(_:result:)](accelerate/vforce/atanh(_:result:)-596wg.md)
- [cosh(_:)](accelerate/vforce/cosh(_:)-4dmhm.md)
- [cosh(_:)](accelerate/vforce/cosh(_:)-5ax3f.md)
- [cosh(_:result:)](accelerate/vforce/cosh(_:result:)-4f7in.md)
