aboutsummaryrefslogtreecommitdiff
path: root/src/math/fdim.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/fdim.c')
-rw-r--r--src/math/fdim.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/math/fdim.c b/src/math/fdim.c
index 95854606..97afec9c 100644
--- a/src/math/fdim.c
+++ b/src/math/fdim.c
@@ -8,3 +8,11 @@ double fdim(double x, double y)
return y;
return x > y ? x - y : 0;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif