aboutsummaryrefslogtreecommitdiff
path: root/src/math/cbrt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/cbrt.c')
-rw-r--r--src/math/cbrt.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/math/cbrt.c b/src/math/cbrt.c
index 7599d3e3..cc777359 100644
--- a/src/math/cbrt.c
+++ b/src/math/cbrt.c
@@ -101,3 +101,11 @@ double cbrt(double x)
t = t+t*r; /* error <= 0.5 + 0.5/3 + epsilon */
return t;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif