aboutsummaryrefslogtreecommitdiffstats
path: root/numeric.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-23 12:33:39 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-23 12:33:39 +0000
commitbf8601eb78556ce8098d8f44530f3a7c0aff5e8d (patch)
tree53e9e9fe88da21084a44b575ef4a084c16c96d9e /numeric.c
parentbc54891f454440b0da8cd5e97ab8f96760ad67dd (diff)
downloadruby-bf8601eb78556ce8098d8f44530f3a7c0aff5e8d.tar.gz
missing.h: isfinite
* include/ruby/missing.h (isfinite): move from numeric.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/numeric.c b/numeric.c
index 6523249697..6c8afe2ec0 100644
--- a/numeric.c
+++ b/numeric.c
@@ -24,14 +24,6 @@
#include <ieeefp.h>
#endif
-#if !defined HAVE_ISFINITE && !defined isfinite
-#if defined HAVE_FINITE && !defined finite && !defined _WIN32
-extern int finite(double);
-# define HAVE_ISFINITE 1
-# define isfinite(x) finite(x)
-#endif
-#endif
-
/* use IEEE 64bit values if not defined */
#ifndef FLT_RADIX
#define FLT_RADIX 2