Re: OpenEuphoria on the raspberry pi

new topic     » goto parent     » topic index » view thread      » older message » newer message
mattlewis said...

Here's a simple test:

 
? and_bits( 0xffff_ffff, 1233.5 + 0.5 ) 
? and_bits( 0xffff_ffff, 1234 ) 
? and_bits( 0xffff, 1234 ) 
 

This should print 1234 three times.

Matt

yup 5957 does

eui -v 
Euphoria Interpreter v4.1.0 development 
   32-bit Linux, Using System Memory 
   Revision Date: 2013-01-18 15:52:45, Id: 5957:e9e11b19737a 
ukscone@welham ~/euphoria/source $ cat test.ex 
? and_bits( 0xffff_ffff, 1233.5 + 0.5 )  
? and_bits( 0xffff_ffff, 1234 )  
? and_bits( 0xffff, 1234 )  
ukscone@welham ~/euphoria/source $ eui test.ex 
1234 
1234 
1234 

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

Search



Quick Links

User menu

Not signed in.

Misc Menu