[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: ruby / php operator differences.

Yukihiro Matsumoto

3/8/2007 7:11:00 AM

Hi,

In message "Re: ruby / php operator differences."
on Thu, 8 Mar 2007 16:07:18 +0900, Brian Candler <B.Candler@pobox.com> writes:

|> $i |= 0xe0000000; //= -536870912
|>
|> Now with Ruby:
|> i |= 0xe000000 #= true
|
|Errm, how about providing some evidence for that claim?

Maybe he assumed integers to be wrapped around 32bits?

matz.