Re: OpenEuphoria on the raspberry pi

new topic     » goto parent     » topic index » view thread      » older message » newer message

Does this explain it? I have this test code:

-- andbits.ex 
atom index_hash = 0xffff_ffff 
index_hash *= 4 
? index_hash 
index_hash += 10 
? index_hash 
? and_bits( 0xffff_ffff, index_hash ) 

On x86 I get:

[ /tmp]$ eui -v 
Euphoria Interpreter v4.1.0 development 
   32-bit Linux, Using System Memory 
   Revision Date: 2013-01-24 14:49:03, Id: 5965:ef579d0f2018 
[ /tmp]$ eui andbits.ex 
1.717986918e+10 
1.717986919e+10 
6 

On Raspberry Pi:

[ /tmp]$ eui -v 
Euphoria Interpreter v4.1.0 development 
   32-bit Linux, Using System Memory 
   Revision Date: 2013-01-24 14:49:03, Id: 5965:ef579d0f2018 
[ /tmp]$ eui andbits.ex  
1.717986918e+10 
1.717986919e+10 
4294967295 

Thanks,
Ira

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu