This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/3866] pow(double, double) does not fulfil several of C99's requirements
- From: "mtk dot manpages at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 5 Aug 2008 14:06:01 -0000
- Subject: [Bug math/3866] pow(double, double) does not fulfil several of C99's requirements
- References: <20070112233054.3866.kreckel@ginac.de>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From mtk dot manpages at gmail dot com 2008-08-05 14:05 -------
Created an attachment (id=2892)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2892&action=view)
test program
Just to add a little detail here regarding these four points:
1) pow(-1, 1e100):
2) pow(-1, -1e100):
3) pow(-3.141592, 1e100):
4) pow(-3.141592, -1e100):
If x is less than -0, then (on x86, glibc 2.8) pow() fails with EDOM/FE_INVALID
for any y whose absolute value is greater than about 9.223373e18.
(EDOM/FE_INVALID == pole error, which is the error that occurs if x == 0, and y
is negative)
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3866
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.