Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21824 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7121 invoked by uid 1010); 9 Feb 2006 19:33:33 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 7106 invoked from network); 9 Feb 2006 19:33:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Feb 2006 19:33:33 -0000 X-Host-Fingerprint: 213.136.52.68 mailgate-out2.mysql.com Linux 2.5 (sometimes 2.4) (4) Received: from ([213.136.52.68:35608] helo=mailgate.mysql.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 86/0B-35443-9099BE34 for ; Thu, 09 Feb 2006 14:33:32 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate.mysql.com (8.13.4/8.13.4) with ESMTP id k19JXP8V002855; Thu, 9 Feb 2006 20:33:25 +0100 Received: from mail.mysql.com ([10.222.1.99]) by localhost (mailgate.mysql.com [10.222.1.98]) (amavisd-new, port 10026) with LMTP id 01679-02; Thu, 9 Feb 2006 20:33:25 +0100 (CET) Received: from [10.100.84.9] (10-100-84-9.mysql.internal [10.100.84.9]) (authenticated bits=0) by mail.mysql.com (8.13.3/8.13.3) with ESMTP id k19JXKZa028472 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 9 Feb 2006 20:33:23 +0100 Message-ID: <43EB988E.8000601@mysql.com> Date: Thu, 09 Feb 2006 20:31:26 +0100 Organization: MySQL AB User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050219 MIME-Version: 1.0 To: enugroho@spikesource.com CC: internals@lists.php.net References: <1139511219.23993.19.camel@ganges.spikesource.com> <43EB9304.6040104@lerdorf.com> <1139512811.23993.36.camel@ganges.spikesource.com> In-Reply-To: <1139512811.23993.36.camel@ganges.spikesource.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mailgate.mysql.com Subject: Re: [PHP-DEV] Other Integers for php 6 From: andrey@mysql.com (Andrey Hristov) Ezra Nugroho wrote: >>Uh, positive bits? > > >>A bitfield is a bitfield. Signedness is irrelevant. >> >>-Rasmus > > > Yes. > > I probably should say integers that I can modify with bitwise operators > comfortably without changing the signs. The problem is that people may > want to do comparison after doing bitwise operations. If the sign is > changed, the comparison will not be valid, right? > > That's why I want to stay within the positive range. > Take a look at http://pecl.php.net/package/big_int/1.0.2 Andrey