This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/369] pow problems on x86
- From: "eberlein at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 31 Aug 2006 22:27:04 -0000
- Subject: [Bug math/369] pow problems on x86
- References: <20040906122341.369.vargaz@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From eberlein at us dot ibm dot com 2006-08-31 22:27 -------
Created an attachment (id=1269)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=1269&action=view)
patch for pow to return inf/0 for (-2,+/-1E300)
I've created a patch to return inf for pow(-2,1E300) and 0 for pow(-2,-1E300).
This patch modifies the function to use |x| and filter the result if x < 0,
keeping inf or zero, otherwise return NaN.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=369
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.