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 | 0c160511142233f076a6353784de99f3d73e183d (patch) | |
tree | 592c6156fede747a4ad7390f1b425e1406e3cd64 /math.c | |
parent | 0558ba4e7b7b51a766cd675df542f2d0d9265e30 (diff) |
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) { |