Project

General

Profile

« Previous | Next » 

Revision 0fdbdfbb

Added by naruse (Yui NARUSE) over 15 years ago

  • math.c (domain_check): ignore errno if y is inf.
    r26335 is because NetBSD 5.0's asin and acos returns
    0.0 with errno EDOM. But it breaks Linux whose gamma returns inf
    with errno ERANGE on.

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