exp2

From OpenGL Reference
Jump to navigation Jump to search

Return 2 raised to the power of the parameter.

Declaration[edit]

genType exp2( genType x );


Parameters[edit]

x - Specify the value of the power to which 2 will be raised.


Description[edit]

 exp2 returns 2 raised to the power of x . i.e., [math]2^x[/math] .

Version Support[edit]

exp2 1.1+

See Also[edit]

 exp , log , log2 


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