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: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: lib-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
        netbsd-bugs%netbsd.org@localhost, victor.stinner%haypocalc.com@localhost
Subject: Re: lib/44057 (tanh() function doesn't preserve the zero sign)
Date: Wed, 6 Apr 2011 11:55:28 +0200

 I tested on i386/5.1 and it fails there on i386 (basically the test case
 t_tanh you just added to -current):
 
    signbit(d): 0 signbit(f): 1, d = 0.000000, f = -0.000000
 
 So works for float, fails for double. Also fails on sparc64 current :-(
 
 Martin
 


Home | Main Index | Thread Index | Old Index