summaryrefslogtreecommitdiffstats
path: root/newlib/libm/complex/cexp.c
diff options
context:
space:
mode:
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>