summaryrefslogtreecommitdiff
path: root/src/complex/cacos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/complex/cacos.c')
-rw-r--r--src/complex/cacos.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/complex/cacos.c b/src/complex/cacos.c
new file mode 100644
index 00000000..0eb88f4c
--- /dev/null
+++ b/src/complex/cacos.c
@@ -0,0 +1,25 @@
+# define TGSOURCE "cacos.c"
+#include "nonstd/tgmath.h"
+
+#include <complex.h>
+
+TYPE complex TGFN(cacos)(TYPE complex z)
+{
+ return I;
+}
+
+/*d
+The cacos functions compute the complex arc cosine of z, with branch cuts outside the
+interval [−1, +1] along the real axis.
+d*/
+
+/*r
+The cacos functions return the complex arc cosine value, in the range of a strip
+mathematically unbounded along the imaginary axis and in the interval [0, π ] along the
+real axis
+r*/
+
+/*
+STDC(199901)
+LINK(m)
+*/