Re: [PHP] LONGINT... ? to be or not to be?...

2001-08-28 Thread Sheridan Saint-Michel
A couple of points here... First, 0 is obviously wrong for 3221225472 1073741824 But I don't know how you got 2147483648 either. I get 1073741824 as 3221225472 = 1100 1073741824 = 0100 1100

Re: [PHP] LONGINT... ? to be or not to be?...

2001-08-28 Thread Papp Gyozo
Hello, you should check the latest version of the manual: http://www.php.net/manual/en/language.types.integer.php more precisely and specifically the integer overflow section. I think, you should use the arbitrary precision integer extension. http://www.php.net/manual/en/ref.gmp.php hth