summaryrefslogtreecommitdiff
path: root/src/complex/cabs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/complex/cabs.c')
-rw-r--r--src/complex/cabs.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/complex/cabs.c b/src/complex/cabs.c
new file mode 100644
index 00000000..a408518b
--- /dev/null
+++ b/src/complex/cabs.c
@@ -0,0 +1,23 @@
+# define TGSOURCE "cabs.c"
+#include "nontstd/tgmath.h"
+
+#include <complex.h>
+
+TYPE TGFN(cabs)(TYPE complex z)
+{
+ return 0.0;
+}
+
+/*d
+The cabs functions compute the complex absolute value (also called norm, modulus, or
+magnitude) of z.
+d*/
+
+/*r
+The cabs functions return the complex absolute value.
+r*/
+
+/*
+STDC(199901)
+LINK(m)
+*/