Hello,

        I have one question. How can PHP work with longint (in C we call
        them "unsigned long") variables?
        F.e., I want to do next thing:

        65536 & 4096 = 0 (this is right)
        65536 & 65536 = 65536 (again, everything is okay)
        196608 & 65536 = 65536 (perfect, it works great)

        but,

        3221225472 & 1073741824 = 0 (this is wrong, right answer isn't 0
                                     but 2147483648)

        So, can anybody help me with this? Any suggestions? 

        Thanks, anyway. Looking forward your answers.
        Will check my mailbox every 5 minutes. :-)

-- 
green
[http://www.extrasy.net] 
[http://www.unix-how-to.net]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to