Everything

tanhl [V1.08 or later]


Hyperbolic tangent

[Classification]

Mathematical library

[Syntax]

#include <math.h>

long double __far tanhl(long double x); (C99)

[Return value]

Returns the hyperbolic tangent of x.

If the solution is a denormal number, tanhl sets macro ERANGE to global variable errno.

[Description]

This function calculates the hyperbolic tangent of x. Specify the angle in radian. The definition expression is as follows.

 

sinhl (x) / coshl (x)