[Webkit-unassigned] [Bug 16640] Acid3 reveals broken behavior in toFixed and toExponential

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 28 18:41:07 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16640





------- Comment #14 from oliver at apple.com  2007-12-28 18:41 PDT -------
(From update of attachment 18156)
I don't believe you can safely check against -0.0

+    if (x == -0.0) // (-0.0).toExponential() should print as 0 instead of -0
+        x = 0;


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



More information about the webkit-unassigned mailing list