[Webkit-unassigned] [Bug 34462] Fix a bug that Math.round() retunrs incorrect results for huge integers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 1 19:47:56 PST 2010


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


Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #47901|review?                     |review+
               Flag|                            |




--- Comment #3 from Darin Adler <darin at apple.com>  2010-02-01 19:47:56 PST ---
(From update of attachment 47901)
Patch seems fine. But you should consider my patch with ceil that avoids the
need for the separate if statement. You could use ? : instead of the way I did
it. Or use my code exactly as is (as long as it passes your tests).

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