Everything

tanhf


Hyperbolic tangent

[Classification]

Mathematical library

[Syntax]

#include <math.h>

float __far tanhf(float x);

[Return value]

Returns the hyperbolic tangent of x.

If the solution is a denormal number, tanhf 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.

 

sinhf (x) / coshf (x)