[ruby-cvs:61965] odaira:r54803 (trunk): * configure.in (rb_cv_lgamma_r_pm0): check if lgamma_r(+0.0)

odaira at ruby-lang.org odaira at ruby-lang.org
Thu Apr 28 05:00:57 JST 2016


odaira	2016-04-28 05:00:57 +0900 (Thu, 28 Apr 2016)

  New Revision: 54803

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

  Log:
    * configure.in (rb_cv_lgamma_r_pm0): check if lgamma_r(+0.0)
      returns positive infinity, in addition to lgamma_r(-0.0).
      AIX returns an incorrect result of negative infinity.
    
    * math.c (ruby_lgamma_r): handle +0.0, in addition to -0.0.

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
    trunk/math.c


More information about the ruby-cvs mailing list