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