This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/6801] fma() does not ser errno for various errors
- 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 10:52:25 -0000
- Subject: [Bug math/6801] fma() does not ser errno for various errors
- References: <20080731104950.6801.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 10:52 -------
Created an attachment (id=2865)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2865&action=view)
test program
Sample runs demonstrating the problem:
$ /tmp/mt_fma inf 0 0
errno == 0
fetestexcept() says: FE_INVALID
fma(inf,0.00000000000000000e+00,0.00000000000000000e+00)=nan
0 FE_INVALID nan
$ /tmp/mt_fma dbl_max dbl_max 0
errno == 0
fetestexcept() says: FE_OVERFLOW FE_INEXACT
fma(1.79769313486231571e+308,1.79769313486231571e+308,0.00000000000000000e+00)=inf
0 FE_OVERFLOW +inf
$ /tmp/mt_fma dbl_min dbl_min 0
errno == 0
fetestexcept() says: FE_UNDERFLOW FE_INEXACT
fma(2.22507385850720138e-308,2.22507385850720138e-308,0.00000000000000000e+00)=0.00000000000000000e+00
0 FE_UNDERFLOW +0
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6801
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.