Q&A is closed

c:complex.h:cexp

# cexp

`double complex cexp(double complex z);`

### description of cexp

calculate the complex exponential

```#include <stdio.h>
#include <complex.h>

int main( void )
{

double complex z=4.2424 + I*(-2.41231);
double result;
result = cexp(z);
printf("cexp(%f + (%f)*I) = %f + (%f)*I\n",creal(z), cimag(z),creal(result),cimag(result));
return 0;
}```

## output of cexp c example

`  cexp(4.242400 + (-2.412310)*I) = -51.878503 + (0.000000)*I`

### Page Tools

Impressum Datenschutz

Creating directory /kunden/homepages/20/d423760527/htdocs/cpp/data/meta/quickstats/9_2021 failed
Writing /kunden/homepages/20/d423760527/htdocs/cpp/data/meta/quickstats/9_2021/misc_data.ser failed
Creating directory /kunden/homepages/20/d423760527/htdocs/cpp/data/meta/quickstats/9_2021 failed
Writing /kunden/homepages/20/d423760527/htdocs/cpp/data/meta/quickstats/9_2021/ip.ser failed
Creating directory /kunden/homepages/20/d423760527/htdocs/cpp/data/meta/quickstats/9_2021 failed
Writing /kunden/homepages/20/d423760527/htdocs/cpp/data/meta/quickstats/9_2021/pages.ser failed
Creating directory /kunden/homepages/20/d423760527/htdocs/cpp/data/meta/quickstats/9_2021 failed
Writing /kunden/homepages/20/d423760527/htdocs/cpp/data/meta/quickstats/9_2021/ua.ser failed
Creating directory /kunden/homepages/20/d423760527/htdocs/cpp/data/meta/quickstats/9_2021 failed
Writing /kunden/homepages/20/d423760527/htdocs/cpp/data/meta/quickstats/9_2021/page_users.ser failed