[Webkit-unassigned] [Bug 25645] SVG - numeric overflow for very large elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 11 07:14:59 PDT 2010


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





--- Comment #28 from W. James MacLean <wjmaclean at chromium.org>  2010-05-11 07:14:58 PST ---
(In reply to comment #24)
> 
> The same issue can exist with numbers at the extreme range of what double can represent, and in the case of double using a larger floating point number is not practical. One way to fix this is to build digit by digit in the opposite direction after counting digits. This is what the constant mantissaOverflowLowerBound and parseIntOverflow in JSGlobalObjectFunctions.h are written to deal with. We might want to take a similar approach for float.

I'm happy enough to implement code for SVGParserUtilities that is equivalent to what's in JSGlobalObjectFunctions if that's what you and Simon feel is best. Just let me know if this is what you prefer.

I'm curious ... what would happen if 'Inf'/'-Inf' float values started propagating into WebKit?

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