summaryrefslogtreecommitdiff
path: root/missing.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-05 06:40:42 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-05 06:40:42 +0000
commitc004ecfa1ecc447b764d1ab91cbf9a23c2ed79ca (patch)
treec7e8d750cfaa92de7c5d01ffa8ebaef183b4de7f /missing.h
parentbd368e97495ba28ea56da862cd8ef0d695572604 (diff)
* math.c (math_erf,math_erfc): new function. [ruby-list:37753]
* eval.c (ruby_finalize): no longer need to turn off $DEBUG in the finalizer. (ruby-bugs-ja PR#473) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing.h')
-rw-r--r--missing.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/missing.h b/missing.h
index df4cecc..5416500 100644
--- a/missing.h
+++ b/missing.h
@@ -54,6 +54,11 @@ extern double frexp _((double, int *));
extern double hypot _((double, double));
#endif
+#ifndef HAVE_ERF
+extern double erf _((double, double));
+extern double erfc _((double, double));
+#endif
+
#ifndef HAVE_ISINF
extern int isinf _((double));
#endif