aboutsummaryrefslogtreecommitdiff
path: root/src/math/log2f.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/log2f.c')
-rw-r--r--src/math/log2f.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/math/log2f.c b/src/math/log2f.c
index c368f88f..a536e4bc 100644
--- a/src/math/log2f.c
+++ b/src/math/log2f.c
@@ -70,3 +70,11 @@ float log2f(float x)
y = y * r2 + p;
return eval_as_float(y);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif