Name

exp — return the natural exponentiation of the parameter

Declaration

genType exp( genType x);
 

Parameters

x

Specify the value to exponentiate.

Description

exp returns the natural exponentiation of x. i.e., ex.

Version Support

OpenGL Shading Language Version
Function Name 1.10 1.20 1.30 1.40 1.50 3.30 4.00 4.10 4.20 4.30 4.40 4.50
exp

See Also

sin, cos, sinh, cosh