diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-12 10:31:52 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-12 10:31:52 +0000 |
commit | 778e779296a85cae6886c84d978d5ace686737bf (patch) | |
tree | 592c6156fede747a4ad7390f1b425e1406e3cd64 /math.c | |
parent | 0170e85726b60ddc10143c654dbaf454bdb19178 (diff) | |
download | ruby-778e779296a85cae6886c84d978d5ace686737bf.tar.gz |
Math.gamma(Float::INFINITY) should return +INF
* math.c (tgamma): it seems that the implementaion of mswin has similar problem
with mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'math.c')
-rw-r--r-- | math.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -778,7 +778,7 @@ math_erfc(VALUE unused_obj, VALUE x) return DBL2NUM(erfc(Get_Double(x))); } -#if defined __MINGW32__ +#if defined _WIN32 static inline double ruby_tgamma(const double d) { |