Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: MSIE integer overflows

From: xenophi1e <oliver.lavery(at)sympatico.ca>
Date: Fri May 16 2003 - 12:47:29 EDT
('binary' encoding is not supported, stored as-is)
In-Reply-To: <031901c31b3a$f633d130$0100a8c0@clippership.com>

That makes more sense. From the JS 2.0 spec at mozilla.org (http://www.mozilla.org/js/language/js20-1999-03-25/types.html):

integer:
Double-precision IEEE floating-point numbers that are mathematical integers, including positive and negative zeroes but excluding infinities and NaN

number:
Double-precision IEEE floating-point numbers, including positive and negative zeroes and infinities and NaN

So what your seeing is loss of precision in the mantissa, I guess? Funny that they would choose to call floating point without NaN and +-Inf an "integer".

The intervals look funny. Are they consistent with this description?

Cheers,
~x

>
>I'm not a Javascript expert, but I think the issue isn't one of
<snip>
>Produces the following:
Received on Fri May 16 18:57:41 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:07:39 EDT

Do you need help?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library