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/2678] pow returns incorrect results on underflow


------- Additional Comments From vincent+libc at vinc17 dot org  2009-09-24 10:43 -------
(In reply to comment #3)
> Moreover when compiling with -O1 with GCC 4.3.2 (i.e., when constant folding
> is activated)

It seems that constant folding on pow() isn't done by GCC yet. I interpret the
change due to -O1 by an optimization like pow(x,3) -> x * x * x (and glibc isn't
concerned since this is a GCC optimization).

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=2678

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