Re: [whatwg] How should overflow be handled when parsing integers?

2012-01-27 Thread Ian Hickson
On Sun, 16 Oct 2011, Daniel Bates wrote: How should overflow be handled when parsing integers? Use more storage. :-) If that's inpractical due to hardware limitations (e.g. the architecture is optimised for integers in specific widths) then you can handle it pretty much how you like.

Re: [whatwg] How should overflow be handled when parsing integers?

2011-10-18 Thread Daniel Bates
On Oct 16, 2011, at 11:02 AM, Mounir Lamouri wrote: On 10/16/2011 02:17 PM, Daniel Bates wrote: How should overflow be handled when parsing integers? Step 8 of the parsing algorithm in bothhttp://dev.w3.org/html5/spec/Overview.html#rules-for-parsing-integers

[whatwg] How should overflow be handled when parsing integers?

2011-10-16 Thread Daniel Bates
(Please disregard this email if you already received a copy of it) How should overflow be handled when parsing integers? Step 8 of the parsing algorithm in both http://dev.w3.org/html5/spec/Overview.html#rules-for-parsing-integers and

Re: [whatwg] How should overflow be handled when parsing integers?

2011-10-16 Thread Mounir Lamouri
On 10/16/2011 02:17 PM, Daniel Bates wrote: How should overflow be handled when parsing integers? Step 8 of the parsing algorithm in bothhttp://dev.w3.org/html5/spec/Overview.html#rules-for-parsing-integers andhttp://dev.w3.org/html5/spec/Overview.html#non-negative-integers doesn't mention