View Single Post
  #27 (permalink)  
Old June 15th, 2005, 10:18 AM
nzakas's Avatar
nzakas nzakas is offline
Wrox Author
 
Join Date: Dec 2004
Location: Peabody, MA, USA.
Posts: 217
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Alexei:

Yes, NodeIterator was never fully implemented in Mozilla (doh!). It was allegedly supposed to be done but never was. I'll have to update that.

Paolo:

Yes, the description of shifting is pretty messed up, as Alexei pointed out earlier. And you're right, -64 >>> 1 does return 2147483616 (this is why answering forum posts at work is never a good idea).

And you're right, 32-bit number is better than floating-point number. Good catch.

Nicholas C. Zakas
Author, Professional JavaScript for Web Developers (ISBN 0764579088)
http://www.nczonline.net/
Reply With Quote