Given:
  a=0x80000000
  b=0x80000000>>0
  c=0x80000000>>>0
we find
  a !== b
but
  a === c
and this is LOVELY!
  a !== ~~a

I realized this is probably and artifact of the optimizations we know and 
love,
but when commutativity and identity are messed with it's feels like cats and
dog living together; you know, end of the world stuff :).

Be warned if you aren't already.

G'day,
-LLeo

P.S. If you have trouble visualizing the bits printf("0b%032b", ...) is your
friend. https://github.com/wdavidw/node-printf (works in browsers).

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to