SilverScreen Solid Modeler

tanh

tanh

Previous topic Next topic  

tanh

Previous topic Next topic JavaScript is required for the print function  

StandardCLibrary

 

double tanh( double x )

 

double x;         /* a double value */

 

 

 




Synopsis

#include "math.h"

 

The tanh function calculates the hyperbolic tangent of x : (ex - e-x) / (ex + e-x).

 

 

Parameters

x is a double value.

 

 

Return Value

tanh returns the value calculated. If the absolute value of x is too large, then errno is set to ERANGE , and the value returned has magnitude equal to HUGE_VAL , with the same sign as x .

 

 

See Also

sinh , cosh, tan