语法:
#include <cmath> double exp( double arg );
exp() 函数返回 e (2.7182818) 的arg次方。
C++ 也提供了下列重载形式:
#include <cmath> float exp( float arg ); // same as expf() in C99 long double exp( long double arg ); // same as expl() in C99
相关主题: log, pow, sqrt