Hi,

Raghu G. wrote in post #1067440:
> How could this be implemented in ruby?

Ruby has all the bit operators, so you can actually copy the code. You 
only have to do the two's complement manually.

-- 
Posted via http://www.ruby-forum.com/.