Project

General

Profile

Bug #14321

Backport r54803 (Fix Math.lgamma on AIX)

Added by ReiOdaira (Rei Odaira) about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:84663]

Description

This is a ticket to back-port r54803 to 2.3.

Associated revisions

Revision 54803
Added by odaira almost 3 years ago

  • 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.

Revision cce645e6
Added by usa (Usaku NAKAMURA) about 1 year ago

merge revision(s) 54803: [Backport #14321]
* 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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@62141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 62141
Added by usa (Usaku NAKAMURA) about 1 year ago

merge revision(s) 54803: [Backport #14321]
* 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.

History

Updated by usa (Usaku NAKAMURA) about 1 year ago

  • Backport changed from 2.3: REQUIRED, 2.4: DONTNEED, 2.5: DONTNEED to 2.3: DONE, 2.4: DONTNEED, 2.5: DONTNEED

ruby_2_3 r62141 merged revision(s) 54803.

Also available in: Atom PDF