Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21822 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99399 invoked by uid 1010); 9 Feb 2006 19:20:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 99383 invoked from network); 9 Feb 2006 19:20:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Feb 2006 19:20:17 -0000 X-Host-Fingerprint: 209.10.209.56 unknown Linux 2.4/2.6 Received: from ([209.10.209.56:38914] helo=mail.spikesource.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id D2/E9-35443-0F59BE34 for ; Thu, 09 Feb 2006 14:20:16 -0500 Received: from ganges.spikesource.com (ganges.spikesource.com [::ffff:172.16.20.210]) (AUTH: PLAIN enugroho, SSL: TLSv1/SSLv3,128bits,RC4-MD5) by mail.spikesource.com with esmtp; Thu, 09 Feb 2006 11:20:12 -0800 id 00214429.43EB95EC.00000A5C Reply-To: enugroho@spikesource.com To: Rasmus Lerdorf Cc: internals@lists.php.net In-Reply-To: <43EB9304.6040104@lerdorf.com> References: <1139511219.23993.19.camel@ganges.spikesource.com> <43EB9304.6040104@lerdorf.com> Organization: SpikeSource Inc. Date: Thu, 09 Feb 2006 11:20:11 -0800 Message-ID: <1139512811.23993.36.camel@ganges.spikesource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Mailer: Evolution 2.0.4 (2.0.4-7) Subject: Re: [PHP-DEV] Other Integers for php 6 From: enugroho@spikesource.com (Ezra Nugroho) > 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.