mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* math.c (ruby_lgamma_r): mswin's lgamma_r also seems to be wrong.
cf. [Bug #12249] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
542d3a071f
commit
bb7a4c2a00
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Apr 6 01:22:55 2016 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* 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@ruby-lang.org>
|
||||
|
||||
* math.c (ruby_lgamma_r): fix lgamma(-0.0) on mingw and OSX.
|
||||
|
|
2
math.c
2
math.c
|
@ -750,7 +750,7 @@ ruby_tgamma(const double d)
|
|||
#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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue