Re: Bitwise AND for 31-st bit
| From: | Vitalii Demianets | Date: | Tue, 17 May 2011 16:03:15 +0000 |
| Subject: | Re: Bitwise AND for 31-st bit | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-312837@lists.php.net to get a copy of this message | ||
On Tuesday 17 May 2011 18:31:00 Bálint Horváth wrote:
> Hi,
> Hmm.. interesting...
> "tst1=-2147483648, tst1_eq=-2147483648, tst1_type=integer tst2=2147483648,
> tst2_eq=-2147483648, tst2_type=double" at me...
> PHP Version 5.3.3-1ubuntu9.5 (Apache 2.0 - i686)
That is what I expected too.
There are 2 possibilities:
1) There was a bug in 5.2.14 which is fixed in 5.3.3;
2) There still is a bug in latest version of PHP which manifest itself only on
ARM CPU (which I am working on).
The worst thing is that I can not compile PHP 5.3.x for my board at the
moment. So, I think, I should live with it, until I manage somehow to upgrade
PHP installation for that board.
--
Vitalii Demianets