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: "kreckel at ginac dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 5 Aug 2008 22:04:53 -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 kreckel at ginac dot de 2008-08-05 22:04 -------
(In reply to comment #2)
> 4) pow(-0, -1e100)
>
> this problem seems to be absent on glibc 2.8. There, pow(-0, -1e100) does the
> right thing, returning -Inf and giving EDOM/FE_DIVBYZERO.
But the right thing to do would return +Inf and giving EDOM/FE_DIVBYZERO, as
-1e100 is < 0 and not an odd integer (specified in. F.9.4.4, second dash.)
--
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.