Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

tanh, tanhf, tanhl - compute hyperbolic tangent

&pagelevel(4)&pagelevel

Syntax

#include <math.h>

double tanh(double x);
C11
float tanhf(float x);
long double tanhl(long double x); (End)

Description

These functions compute the hyperbolic tangent of a floating-point number x (within the permissible range of floating-point numbers).

Return val.

tanh(x)              Hyperbolic tangent of x if successful.

See also

atan(), cos(), cosh(), sin(), sinh(), tan(), math.h.