This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/3866] pow(double, double) does not fulfil several of C99's requirements


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]