summaryrefslogtreecommitdiffstats
path: root/newlib/libm/complex/ccos.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/complex/ccos.c')
-rw-r--r--newlib/libm/complex/ccos.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/newlib/libm/complex/ccos.c b/newlib/libm/complex/ccos.c
index 2e01c7666..1062c079a 100644
--- a/newlib/libm/complex/ccos.c
+++ b/newlib/libm/complex/ccos.c
@@ -32,6 +32,39 @@
* Marco Atzeri <marco_atzeri@yahoo.it>
*/
+/*
+FUNCTION
+ <<ccos>>, <<ccosf>>---complex cosine
+
+INDEX
+ ccos
+INDEX
+ ccosf
+
+ANSI_SYNOPSIS
+ #include <complex.h>
+ double complex ccos(double complex <[z]>);
+ float complex ccosf(float complex <[z]>);
+
+
+DESCRIPTION
+ These functions compute the complex cosine of <[z]>.
+
+ <<ccosf>> is identical to <<ccos>>, except that it performs
+ its calculations on <<floats complex>>.
+
+RETURNS
+ These functions return the complex cosine value.
+
+PORTABILITY
+ <<ccos>> and <<ccosf>> are ISO C99
+
+QUICKREF
+ <<ccos>> and <<ccosf>> are ISO C99
+
+*/
+
+
#include <complex.h>
#include <math.h>
#include "cephes_subr.h"