aboutsummaryrefslogtreecommitdiff
path: root/src/math/__math_divzerof.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/__math_divzerof.c')
-rw-r--r--src/math/__math_divzerof.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/math/__math_divzerof.c b/src/math/__math_divzerof.c
index ce046f3e..bd939b0f 100644
--- a/src/math/__math_divzerof.c
+++ b/src/math/__math_divzerof.c
@@ -4,3 +4,11 @@ float __math_divzerof(uint32_t sign)
{
return fp_barrierf(sign ? -1.0f : 1.0f) / 0.0f;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif