2's Compliment in Ruby
Posted: Tue Nov 03, 2015 4:04 am
Hi,
How do you do 2's Compliment conversion in Ruby ?
I have a 16bit 2's compliment number that needs to be signed integer -32768 to 32767
thanks for any input...
Aron
How do you do 2's Compliment conversion in Ruby ?
I have a 16bit 2's compliment number that needs to be signed integer -32768 to 32767
thanks for any input...
Aron