[Webkit-unassigned] [Bug 25027] JavaScript parseInt wrong on negative numbers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 6 11:50:23 PDT 2009


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


sam at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #29250|review?                     |review-
               Flag|                            |




------- Comment #2 from sam at webkit.org  2009-04-06 11:50 PDT -------
(From update of attachment 29250)
> -            return jsNumber(exec, floor(d));
> +            return jsNumber(exec, (d > 0)?floor(d):ceil(d));

Our style dictates that there should be spaces around the ? and :


-- 
Configure bugmail: https://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