summaryrefslogtreecommitdiff
path: root/missing/erf.c
diff options
context:
space:
mode:
Diffstat (limited to 'missing/erf.c')
-rw-r--r--missing/erf.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/missing/erf.c b/missing/erf.c
index fe65b9a479..c2c9d5f7e9 100644
--- a/missing/erf.c
+++ b/missing/erf.c
@@ -3,24 +3,10 @@
reference - Haruhiko Okumura: C-gengo niyoru saishin algorithm jiten
(New Algorithm handbook in C language) (Gijyutsu hyouron
sha, Tokyo, 1991) p.227 [in Japanese] */
+#include "ruby/missing.h"
#include <stdio.h>
#include <math.h>
-#ifdef _WIN32
-# include <float.h>
-# if !defined __MINGW32__ || defined __NO_ISOCEXT
-# ifndef isnan
-# define isnan(x) _isnan(x)
-# endif
-# ifndef isinf
-# define isinf(x) (!_finite(x) && !_isnan(x))
-# endif
-# ifndef finite
-# define finite(x) _finite(x)
-# endif
-# endif
-#endif
-
static double q_gamma(double, double, double);
/* Incomplete gamma function