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)



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