aboutsummaryrefslogtreecommitdiff
path: root/src/math/__expo2f.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/__expo2f.c')
-rw-r--r--src/math/__expo2f.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/math/__expo2f.c b/src/math/__expo2f.c
index 538eb09c..937ee404 100644
--- a/src/math/__expo2f.c
+++ b/src/math/__expo2f.c
@@ -15,3 +15,11 @@ float __expo2f(float x, float sign)
/* in directed rounding correct sign before rounding or overflow is important */
return expf(x - kln2) * (sign * scale) * scale;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif