Re: working with binary numbers with bitwise operators

2004-05-29 Thread Dar Scott
On Saturday, May 29, 2004, at 11:33 PM, Alejandro Tejada wrote: If i convert this 48 bit binary number in decimal then i get a negative number: put baseconvert (01001100111110101010101101100101110111010101,2,10) results in -2864078293 There may be two factors here. Bugzilla 38 describes a probl

working with binary numbers with bitwise operators

2004-05-29 Thread Alejandro Tejada
Hi Developers, I've been working with bitwise operators in binary numbers of 48 bits like this: "01001100111110101010101101100101110111010101" and noticed the following: If i convert this 48 bit binary number in decimal then i get a negative number: put baseconvert (0100110011111010101