aboutsummaryrefslogtreecommitdiff
path: root/src/complex/carg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/complex/carg.c')
-rw-r--r--src/complex/carg.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/complex/carg.c b/src/complex/carg.c
index dfe9b97a..c0675224 100644
--- a/src/complex/carg.c
+++ b/src/complex/carg.c
@@ -4,3 +4,11 @@ double carg(double complex z)
{
return atan2(cimag(z), creal(z));
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif