[Webkit-unassigned] [Bug 9697] parseInt results may be inaccurate for numbers greater than 2^53

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 16 03:22:21 PDT 2007


cwzwarich at uwaterloo.ca changed:

           What    |Removed                     |Added
  Attachment #15527|0                           |1
        is obsolete|                            |
  Attachment #15528|                            |review?
               Flag|                            |

------- Comment #11 from cwzwarich at uwaterloo.ca  2007-07-16 03:22 PDT -------
Created an attachment (id=15528)
 --> (http://bugs.webkit.org/attachment.cgi?id=15528&action=view)
Revised proposed patch

Thanks for your prompt comments. I (hopefully!) fixed the style issues. I bit
the ASCII bug and moved everything into one function, and I made a named
constant for the overflow check. Adam pointed out one problem, which I realized
after I submitted the patch, and there was another small problem of not
checking for the decimal point in addition to the exponent symbol before
calling strtod(). I also removed the usage of the GCC extension and the
pointless copying of the string.

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