aboutsummaryrefslogtreecommitdiff
path: root/src/math/truncf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/truncf.c')
-rw-r--r--src/math/truncf.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/math/truncf.c b/src/math/truncf.c
index 1a7d03c3..e0fb7b97 100644
--- a/src/math/truncf.c
+++ b/src/math/truncf.c
@@ -17,3 +17,11 @@ float truncf(float x)
u.i &= ~m;
return u.f;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif