RE: [PHP-DEV] PHP 4.0 Bug #6408: Large integer arithmetic broken
| From: | Orion Poplawski | Date: | Wed, 30 Aug 2000 14:40:33 +0000 |
| Subject: | RE: [PHP-DEV] PHP 4.0 Bug #6408: Large integer arithmetic broken | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-31269@lists.php.net to get a copy of this message | ||
I stand corrected. Is the bcmath package the way around this? Any plans to
support unsigned longs?
Thank You
- Orion
> -----Original Message-----
> From: Stanislav Malyshev [mailto:stas@zend.com]
> Sent: Wednesday, August 30, 2000 2:44 AM
> To: Andrй Langhorst
> Cc: opoplawski@cqg.com; PHP Development
> Subject: Re: [PHP-DEV] PHP 4.0 Bug #6408: Large integer arithmetic broken
>
>
> I81AL>> "The size of an integer is platform-dependent, although a
> I81AL>> maximum value of about 2 billion is the usual value
> I81AL>> (that's 32 bits signed)."
> I81AL>>
> I81AL>> well, maxiumum. it does not guarantee 32.bits, I│d tend to
> I81AL>> this is not a bug.
>
> Actually, 31 bit on ix86. PHP longs are signed.
> --
> Stanislav Malyshev stas@zend.com http://www.zend.com/
> +972-3-6139665 ext.106
>