[Webkit-unassigned] [Bug 34170] [Qt] Javascript undefined > 0 returns true on Symbian

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 28 04:04:21 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=34170





--- Comment #7 from Janne Koskinen <koshuin at gmail.com>  2010-01-28 04:04:20 PST ---
(In reply to comment #6)
> So did the Open C guys respond regarding numeric_limits<double>::quiet_NaN()
> being buggy?

Long story short. Open C has fixed their part for their next release (1.7), but
there is issue with RVCT compiler that will still make this not to work.

"The problem comes from the fact that the following code is not equal in
results:
double dnan = std::numeric_limits<double>::quiet_NaN();
int K = 13;
1.  if(!(dnan <= K))
is evaluated to false case;
bool temp = (dnan <= K);
if(!temp)
is evaluated to true case."

Above is happening if -02 optimatisation is used. with -O0 both cases evaluate
the same way.

So unfortunately we need to do a workaround until RVCT is getting fixed.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list