NetBSD-Bugs archive

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

Re: lib/45372: A bug in pow(3)



The following reply was made to PR lib/45372; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: lib/45372: A bug in pow(3)
Date: Sun, 18 Sep 2011 23:26:58 +0000

 On Sat, Sep 17, 2011 at 10:35:02AM +0000, Jukka Ruohonen wrote:
  > Since this is about IEEE floating point specification and about
  > the core C language, indeed I agree that there should be no room
  > for divergence, unlike with, say, POSIX that is always open to
  > discussion.
 
 Indeed. It's kind of odd though; usually when floating-point
 operations lead to nonsense results there's a reason that follows from
 the properties of floating-point numbers; in this case though I really
 don't see what. I guess it must be for consistency with something
 else?
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index