exp - ps

Provides full precision exponential 2x.

Syntax

exp dst, src

where

Remarks

Pixel shader versions 1_1 1_2 1_3 1_4 2_0 2_x 2_sw 3_0 3_sw
exp x x x x x

The following code snippet shows the operations performed:

dest.x = dest.y = dest.z = dest.w = (float)pow(2, src.replicateSwizzleComponent);