Re: Bug #14134 Updated: Literal -2147483648 should be an int, not a double.

From: Date: Tue, 20 Nov 2001 10:14:52 +0000
Subject: Re: Bug #14134 Updated: Literal -2147483648 should be an int, not a double.
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-71032@lists.php.net to get a copy of this message
Pierre-Alain Joye wrote:
You're not correct, the smallest number that should fit in into a signed integer is -2147483648. -(2^31) The highest number is 2147483647. (2^31) - 1
Oops, ok. :) The rule never reply before 11 in the morning ;)
it just depends on the hardware using one-complements or two-complements AFAIR (with all current CPUs using two-complements) -- Hartmut Holzgraefe hartmut@six.de http://www.six.de +49-711-99091-77

« previous php.dev (#71032) next »