##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# tanh

From cppreference.com
< c‎ | numeric‎ | math

Defined in header `<math.h>` |  |
float tanhf( float arg ); |  | (since C99)
double tanh( double arg ); |  |
long double tanhl( long double arg ); |  | (since C99)

Computes hyperbolic tangent of `arg`

### [edit] Parameters

arg | - | floating point value

### [edit] Return value

Hyperbolic tangent of `arg`

### [edit] See also

sinh | computes hyperbolic sine (sh(x)) (function) [edit]
cosh | computes hyperbolic cosine (ch(x)) (function) [edit]
atanh (C99) | area hyperbolic tangent (function) [edit]
C++ documentation for tanh

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=c/numeric/math/tanh&oldid=62612"