summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-23 12:33:39 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-23 12:33:39 (GMT)
commit88cc25f96d1ff9f7b8416977968da997b30d97d6 (patch)
tree53e9e9fe88da21084a44b575ef4a084c16c96d9e /numeric.c
parentd45c09fb121f28df9fa5ea867dc32eee44e99c05 (diff)
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 6523249..6c8afe2 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