This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/6792] log1p() does not set errno n error
- From: "mtk dot manpages at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 31 Jul 2008 09:26:04 -0000
- Subject: [Bug math/6792] log1p() does not set errno n error
- References: <20080731092236.6792.mtk.manpages@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From mtk dot manpages at gmail dot com 2008-07-31 09:26 -------
Created an attachment (id=2854)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2854&action=view)
test program
Sample runs demonstrating the problem
$ /tmp/mt_log1p -- -1
errno == 0
fetestexcept() says: FE_DIVBYZERO
log1p(-1.00000000000000000e+00)=-inf
0 FE_DIVBYZERO -inf
$ /tmp/mt_log1p -- -2
errno == 0
fetestexcept() says: FE_INVALID
log1p(-2.00000000000000000e+00)=nan
0 FE_INVALID nan
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6792
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.