ruby-changes:42421
From: usa <ko1@a...>
Date: Wed, 6 Apr 2016 00:27:02 +0900 (JST)
Subject: [ruby-changes:42421] usa:r54495 (trunk): * math.c (ruby_lgamma_r): mswin's lgamma_r also seems to be wrong.
usa 2016-04-06 01:23:39 +0900 (Wed, 06 Apr 2016) New Revision: 54495 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54495 Log: * math.c (ruby_lgamma_r): mswin's lgamma_r also seems to be wrong. cf. [Bug #12249] Modified files: trunk/ChangeLog trunk/math.c Index: ChangeLog =================================================================== --- ChangeLog (revision 54494) +++ ChangeLog (revision 54495) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Apr 6 01:22:55 2016 NAKAMURA Usaku <usa@r...> + + * math.c (ruby_lgamma_r): mswin's lgamma_r also seems to be wrong. + cf. [Bug #12249] + Wed Apr 6 00:53:31 2016 Nobuyoshi Nakada <nobu@r...> * math.c (ruby_lgamma_r): fix lgamma(-0.0) on mingw and OSX. Index: math.c =================================================================== --- math.c (revision 54494) +++ math.c (revision 54495) @@ -750,7 +750,7 @@ ruby_tgamma(const double d) https://github.com/ruby/ruby/blob/trunk/math.c#L750 #define tgamma(d) ruby_tgamma(d) #endif -#if defined __MINGW32__ || defined __APPLE__ +#if defined _WIN32 || defined __APPLE__ static inline double ruby_lgamma_r(const double d, int *sign) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/