[ruby-cvs:61805] nagachika:r54643 (ruby_2_3): merge revision(s) 54492, 54494, 54495, 54496, 54499, 54503: [Backport #12249]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Tue Apr 19 02:46:05 JST 2016


nagachika	2016-04-19 02:46:05 +0900 (Tue, 19 Apr 2016)

  New Revision: 54643

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54643

  Log:
    merge revision(s) 54492,54494,54495,54496,54499,54503: [Backport #12249]
    
    * math.c (ruby_tgamma): fix tgamma(-0.0) on mingw.
      [ruby-core:74817] [Bug #12249]
    
    * math.c (ruby_lgamma_r): fix lgamma(-0.0) on mingw and OSX.
    
    * math.c (ruby_lgamma_r): mswin's lgamma_r also seems to be wrong.
      cf. [Bug #12249]
    
    * math.c (ruby_lgamma_r): missing/lgamma_r.c is used on Windows,
      since msvcrt does not provide it.
    
    * missing/lgamma_r.c (lgamma_r): fix lgamma(-0.0).
      [ruby-core:74823] [Bug #12249]
    
    * configure.in (rb_cv_lgamma_r_m0): check if lgamma_r(-0.0)
      returns negative infinity.  [Bug #12249]
    
    * math.c (ruby_lgamma_r): define by the configured result.
    
    * configure.in (rb_cv_lgamma_r_m0): fix the condition for
      lgamma_r(-0.0).  [Bug #12249]

  Modified directories:
    branches/ruby_2_3/
  Modified files:
    branches/ruby_2_3/ChangeLog
    branches/ruby_2_3/configure.in
    branches/ruby_2_3/math.c
    branches/ruby_2_3/missing/lgamma_r.c
    branches/ruby_2_3/test/ruby/test_math.rb
    branches/ruby_2_3/version.h


More information about the ruby-cvs mailing list