OpenBSD manual page server

Manual Page Search Parameters

CEXP(3) Library Functions Manual CEXP(3)

cexp, cexpf, cexplcomplex exponential functions

#include <complex.h>

double complex
cexp(double complex z);

float complex
cexpf(float complex z);

long double complex
cexpl(long double complex z);

The (), () and () functions compute the exponential of z.

If z = x + iy, then

cexp(z) = exp(x) cos(y) + i exp(x) sin(y).

The cexp(), cexpf() and cexpl() functions return the exponential of z.

clog(3), cpow(3)

The cexp(), cexpf() and cexpl() functions conform to ISO/IEC 9899:1999 (“ISO C99”).

June 5, 2013 OpenBSD-current