acos

From OpenGL Reference
Jump to navigation Jump to search

Return the arccosine of the parameter.

Declaration[edit]

genType acos( genType x );


Parameters[edit]

x - Specify the value whose arccosine to return.


Description[edit]

 atan returns the angle whose trigonometric cosine is [math]x[/math]. The range of values returned by acos is [math][0,\pi][/math]. The result is undefined if [math]\left| x \right| \gt 1[/math].

Version Support[edit]

acos 1.1+

See Also[edit]

 sin , cos , asin , tan 


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/.