From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13412 invoked by alias); 19 Feb 2008 18:20:07 -0000 Received: (qmail 13389 invoked by uid 22791); 19 Feb 2008 18:20:06 -0000 X-Spam-Check-By: sourceware.org Received: from mail.artimi.com (HELO mail.artimi.com) (194.72.81.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 19 Feb 2008 18:19:48 +0000 Received: from mail.artimi.com ([192.168.1.3] RDNS failed) by mail.artimi.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 19 Feb 2008 18:19:45 +0000 Received: from rainbow ([192.168.8.46]) by mail.artimi.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 19 Feb 2008 18:19:44 +0000 From: "Dave Korn" To: "'Sheng-Liang Song'" , "'Bin Chen'" , "'Eli Zaretskii'" , References: <5800c1cc0802162157g3ac31acas4ae95585b9b2e263@mail.gmail.com> <5800c1cc0802170641g68ab2e5fte724cd076412333@mail.gmail.com> <20080217152625.GA4810@caradoc.them.org> <47BB03ED.5060708@baymicrosystems.com> Subject: RE: (len % 1) != 0 Date: Tue, 19 Feb 2008 18:25:00 -0000 Message-ID: <007f01c87324$00f45a90$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <47BB03ED.5060708@baymicrosystems.com> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-02/txt/msg00133.txt.bz2 On 19 February 2008 16:30, Sheng-Liang Song wrote: > or > > (len & 1) != 0 <=> (len % 2) != 0 > That would have the advantage of not requiring a divide operation :) cheers, DaveK -- Can't think of a witty .sigline today....