summaryrefslogtreecommitdiffstats
path: root/newlib/libm/complex/cexp.c
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2010-10-18 22:40:24 +0000
committerJeff Johnston <jjohnstn@redhat.com>2010-10-18 22:40:24 +0000
commitbf5300eaee04b5e143dea58e922bc6ae260197dd (patch)
tree2d9aa73897ac0abb39e90a468babdf937e2ba513 /newlib/libm/complex/cexp.c
parentcf9e79ca7a5adbc3d6d868ce2334ddd518cda418 (diff)
downloadcygnal-bf5300eaee04b5e143dea58e922bc6ae260197dd.tar.gz
cygnal-bf5300eaee04b5e143dea58e922bc6ae260197dd.tar.bz2
cygnal-bf5300eaee04b5e143dea58e922bc6ae260197dd.zip
2010-10-18 Marco Atzeri <marco_atzeri@yahoo.it>
* libm/Makefile.am: added complex functions documentation * libm/libm.texinfo: ditto * libm/complex/Makefile.am: Ditto * libm/complex/complex.tex: Ditto * libm/complex/(cabs.c, cacos.c, cacosh.c, carg.c, casin.c, casinh.c, catan.c, catanh.c, ccos.c, ccosh.c, cexp.c, cimag.c, clog.c, conj.c, cpow.c, cproj.c, creal.c, csin.c, csinh.c, csqrt.c, ctan.c, ctanh.c): Ditto * libm/Makefile.in: Regenerate * libm/complex/Makefile.in: Ditto
Diffstat (limited to 'newlib/libm/complex/cexp.c')
-rw-r--r--newlib/libm/complex/cexp.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/newlib/libm/complex/cexp.c b/newlib/libm/complex/cexp.c
index f894cd138..b9a3fd087 100644
--- a/newlib/libm/complex/cexp.c
+++ b/newlib/libm/complex/cexp.c
@@ -32,6 +32,39 @@
* Marco Atzeri <marco_atzeri@yahoo.it>
*/
+/*
+FUNCTION
+ <<cexp>>, <<cexpf>>---complex base-e exponential
+
+INDEX
+ cexp
+INDEX
+ cexpf
+
+ANSI_SYNOPSIS
+ #include <complex.h>
+ double complex cexp(double complex <[z]>);
+ float complex cexpf(float complex <[z]>);
+
+
+DESCRIPTION
+ These functions compute the complex base-<[e]> exponential of <[z]>.
+
+ <<cexpf>> is identical to <<cexp>>, except that it performs
+ its calculations on <<floats complex>>.
+
+RETURNS
+ The cexp functions return the complex base-<[e]> exponential value.
+
+PORTABILITY
+ <<cexp>> and <<cexpf>> are ISO C99
+
+QUICKREF
+ <<cexp>> and <<cexpf>> are ISO C99
+
+*/
+
+
#include <complex.h>
#include <math.h>