summaryrefslogtreecommitdiff
path: root/missing/erf.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-08-27 10:52:02 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-08-27 12:41:30 +0900
commit04be8e84db1cf4f8b2a7bc7679eda4336da75d43 (patch)
treec7914614f4a5cf91109f7893b87ff9e5d143ad0e /missing/erf.c
parent37114673623c4d2b1d9f2c2ddfffba070b2d96e6 (diff)
downloadruby-04be8e84db1cf4f8b2a7bc7679eda4336da75d43.tar.gz
Use C99-defined macros to classify a floating-point number
Diffstat (limited to 'missing/erf.c')
-rw-r--r--missing/erf.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/missing/erf.c b/missing/erf.c
index d72c4eaf4e..c2c9d5f7e9 100644
--- a/missing/erf.c
+++ b/missing/erf.c
@@ -7,21 +7,6 @@ reference - Haruhiko Okumura: C-gengo niyoru saishin algorithm jiten
#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