|
NAMEcexp , cexpf ,
cexpl —
complex exponential functions
LIBRARYMath Library (libm, -lm)SYNOPSIS#include <complex.h>
double complex
float complex
long double complex
DESCRIPTIONThecexp (), cexpf (), and
cexpl () functions compute the complex exponential of
z, also known as
cis(z).
RETURN VALUESFor real numbers x and y,cexp () behaves according to Euler's formula:
cexp (x +
I*y) = (e**x *
cos(y)) + (I *
e**x *
sin(y))Generally speaking, infinities, zeroes and NaNs are handled as
would be expected from this identity given the usual rules of floating-point
arithmetic. However, care is taken to avoid generating NaNs when they are
not deserved. For example, mathematically we expect that
SEE ALSOcomplex(3), exp(3), math(3)STANDARDSThecexp (), cexpf (), and
cexpl () functions conform to ISO/IEC
9899:1999 (“ISO C99”).
Visit the GSP FreeBSD Man Page Interface. |