[Bug rtl-optimization/323] optimized code gives strange floating point results

2008-02-27 Thread ywei at qualcomm dot com
--- Comment #104 from ywei at qualcomm dot com 2008-02-27 21:41 --- Subject: RE: optimized code gives strange floating point results Not sure this is the same issues as 323. All three numbers, 8, 1 and 65, should be able to represented in IEEE 754 floating-point format exactly without

[Bug c++/35389] error in norm() of STL

2008-02-27 Thread ywei at qualcomm dot com
--- Comment #3 from ywei at qualcomm dot com 2008-02-27 20:13 --- Subject: RE: error in norm() of STL I did additional test based your test code. You are right that norm() seems to be fine. The problem happens when I try to cast the return double value of norm() to unsigned long long

[Bug c++/35389] New: error in norm() of STL

2008-02-27 Thread ywei at qualcomm dot com
gcc dot gnu dot org ReportedBy: ywei at qualcomm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35389