Calculate the exponent exp(z) of the complex value.
Calculate the exponential (the base of natural logarithm to the power x)
complex exp( complex z )
double exp( double x )
exp(z)
exp(x)
EX1
void run_complex_exp() { complex cc(0.5, 0.3); out_complex("exp = ", exp(cc)); // Result is "exp = 1.575084+0.487230i" }
EX2
void exp_ex1() { double rExp = 2.; double val = exp(rExp); printf("exp(%f) = %f\n", rExp, val); }
origin.h