aboutsummaryrefslogtreecommitdiff
path: root/src/math/modff.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/modff.c')
-rw-r--r--src/math/modff.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/math/modff.c b/src/math/modff.c
index 639514ef..322d078e 100644
--- a/src/math/modff.c
+++ b/src/math/modff.c
@@ -32,3 +32,11 @@ float modff(float x, float *iptr)
*iptr = u.f;
return x - u.f;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif