NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-amd64/45391: pow(3) wrong result for x = 0.0 and y < 0



The following reply was made to PR port-amd64/45391; it has been noted by GNATS.

From: David Holland <dholland-tech%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost, tech-userlevel%netbsd.org@localhost
Cc: 
Subject: Re: port-amd64/45391: pow(3) wrong result for x = 0.0 and y < 0
Date: Tue, 8 Sep 2015 08:41:55 +0000

 On Tue, Sep 08, 2015 at 08:29:14AM +0000, David Holland wrote:
  > On Mon, Oct 07, 2013 at 05:30:00AM +0000, David Holland wrote:
  >  >  On Tue, May 15, 2012 at 12:30:05AM +0000, NARUSE, Yui wrote:
  >  >   >  Hi,
  >  >   >  
  >  >   >  I reported a duplicated pr, lib/45755, and attached a patch.
  >  >   >  But I noticed it is wrong.
  >  >   >  
  >  >   >  I show a correct patch as below.
  >  >   >  It makes related tests pass.
  >  >  
  >  >  This has still not been committed; is there any reason I shouldn't
  >  >  go ahead and commit?
  > 
  > So, it turns out to cause other cases to fail. The following
  > additional (gross) change is needed to get all the right answers out.
  > 
  > Should I commit this, or revert?
 
 Also, what's pow(+/-0, non-integer) supposed to produce?
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index