NetBSD-Bugs archive

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

Re: lib/44057 (tanh() function doesn't preserve the zero sign)



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

From: Victor Stinner <victor.stinner%haypocalc.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: lib-bug-people%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost,  jruoho%NetBSD.org@localhost
Subject: Re: lib/44057 (tanh() function doesn't preserve the zero sign)
Date: Wed, 06 Apr 2011 11:41:48 +0200

 Le mercredi 06 avril 2011 à 09:29 +0000, jruoho%NetBSD.org@localhost a écrit 
:
 > Synopsis: tanh() function doesn't preserve the zero sign
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: jruoho%NetBSD.org@localhost
 > State-Changed-When: Wed, 06 Apr 2011 09:29:11 +0000
 > State-Changed-Why:
 > 
 > I can not reproduce this in 5.99.48 amd64 NetBSD. But the bug is present on
 > 5.1 i386 NetBSD. Can you check if the problem is exists in HEAD i386? 
 
 Sorry, I cannot. I don't have access to any NetBSD machine.
 
 tanh(-0.) should return -0.
 
 You may try python -c "import math; print(math.tanh(-0.0))" or a program
 written in C.
 
 Victor
 


Home | Main Index | Thread Index | Old Index