exp [C++ Reference]
Keywords: c,math,exp
Date: 2009-12-08T15:56:35-0800

[[exp]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- cz
- de
- es
- fr
- it
- jp
- nl
- pl
- ro
- ru
- sk
- tr
- tw

## exp

Syntax:

        #include <cmath>
        double exp( double arg );

The exp() function returns e (2.7182818) raised to the argth power.

C++ also provides the following overloaded forms:

        #include <cmath>
        float exp( float arg ); // same as expf() in C99
        long double exp( long double arg ); // same as expl() in C99

Related Topics: log, pow, sqrt

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •