logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

exp2 - return 2 raised to the power of the parameter

Declaration

genTypeexp2(genTypex);

Description

exp2 returns 2 raised to the power of x. i.e., 2x.

Name

       exp2 - return 2 raised to the power of the parameter

Parameters

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

See Also

exp(), log(), log2()

Version Support

       ┌──────────┬───────────────────────────────────────────────────────────────────────────────────┐
       │          │        OpenGLShadingLanguageVersion                                            │
       ├──────────┼──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┤
       │ Function1.101.201.301.401.503.304.004.104.204.304.404.50 │
       │ Name     │      │      │      │      │      │      │      │      │      │      │      │      │
       ├──────────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┤
       │ exp2     │  ✔   │  ✔   │  ✔   │  ✔   │  ✔   │  ✔   │  ✔   │  ✔   │  ✔   │  ✔   │  ✔   │  ✔   │
       └──────────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┘

See Also