cexp(3)
Canonical URL: /cexp.3/
CEXP(3) Library
Functions Manual CEXP(3)
NAME
cexp, cexpf,
cexpl —
complex exponential
functions
SYNOPSIS
/* -lm */
#include <complex.h>
double complex
cexp(double
complex z);
float complex
cexpf(float
complex z);
long double complex
cexpl(long
double complex z);
DESCRIPTION
The
cexp(),
cexpf()
and
cexpl()
functions compute the exponential of z.
If z = x + iy, then
cexp(z) = exp(x) cos(y) + i exp(x) sin(y).
RETURN VALUES
The cexp(),
cexpf() and cexpl()
functions return the exponential of z.
SEE ALSO
STANDARDS
The cexp(),
cexpf() and cexpl()
functions conform to ISO/IEC 9899:1999
(“ISO C99”).
OpenBSD 7.9 June
7, 2025 CEXP(3)
Need conceptual guidance? Continue in the OpenBSD Handbook.