aboutsummaryrefslogtreecommitdiff
path: root/src/math/logb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/logb.c')
-rw-r--r--src/math/logb.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/math/logb.c b/src/math/logb.c
index 7f8bdfae..be796dbf 100644
--- a/src/math/logb.c
+++ b/src/math/logb.c
@@ -15,3 +15,11 @@ double logb(double x)
return -1/(x*x);
return ilogb(x);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif