Name

tanh — return the hyperbolic tangent of the parameter

Declaration

genType tanh(genType x);
 

Parameters

x

Specify the value whose hyperbolic tangent to return.

Description

tanh returns the hyperbolic tangent of x. The hyperbolic tangent of x is computed as sinh x cosh x .

Version Support

OpenGL ES Shading Language Version
Function Name 1.00 3.00
tanh-

See Also

sin, cos, sinh, cosh

Copyright

Copyright © 2011-2013 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999.