summaryrefslogtreecommitdiff
path: root/src/complex/carg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/complex/carg.c')
-rw-r--r--src/complex/carg.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/complex/carg.c b/src/complex/carg.c
new file mode 100644
index 00000000..15772f8a
--- /dev/null
+++ b/src/complex/carg.c
@@ -0,0 +1,23 @@
+# define TGSOURCE "carg.c"
+#include "nonstd/tgmath.h"
+
+#include <complex.h>
+
+TYPE TGFN(carg)(TYPE complex z)
+{
+ return 0.0;
+}
+
+/*d
+The carg functions compute the argument (also called phase angle) of z, with a branch
+cut along the negative real axis.
+d*/
+
+/*r
+The carg functions return the value of the argument in the interval [− π , + π ].
+r*/
+
+/*
+STDC(199901)
+LINK(m)
+*/