working with binary numbers with bitwise operators

Dar Scott dsc at swcp.com
Mon May 31 02:19:33 EDT 2004


On Sunday, May 30, 2004, at 10:48 PM, Alejandro Tejada wrote:

> Could be splitting a big number in two parts
> like this?
>
> 48 bit number
> 010011001100001110101010101101100101110111010101
>
> divided in two 24 bit numbers
>
> 010011001100001110101010
> 101101100101110111010101

Yes.

On shifting...  Remember shift right is divide by two and shift left is 
divide by two.

Dar Scott



More information about the Use-livecode mailing list