tanh

From OpenGL Reference
Jump to navigation Jump to search

Return the hyperbolic tangent of the parameter.

Declaration[edit]

genType tanh( genType x );


Parameters[edit]

x - Specify the value whose hyperbolic tangent to return.


Description[edit]

 tanh returns the hyperbolic tangent of [math][/math] . The hyperbolic tangent of [math][/math] is computed as [math]sinh⁡()cosh⁡()[/math] .


Version Support[edit]

tanh 1.3+

See Also[edit]

 sin , cos , sinh , cosh 


Copyright[edit]

Copyright© 2011-2014 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. http://opencontent.org/openpub/.