www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/25/22:19:35

Date: Wed, 25 Aug 1999 15:16:23 +0700
From: Batchex <thedark1 AT Phreaker DOT net>
X-Mailer: The Bat! (v1.32) S/N E34104EF
X-Priority: 3 (Normal)
Message-ID: <10636.990825@Phreaker.net>
To: Davin McCall <djgpp AT delorie DOT com>
Subject: Re[6]: Bit counting?
In-reply-To: <37c1100a.8985201@newsserver.cc.monash.edu.au>
References: <37c1100a DOT 8985201 AT newsserver DOT cc DOT monash DOT edu DOT au>
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Hi,

Monday, August 23, 1999, 4:13:25 PM, you wrote:

DM> Look, the algorithm is correct; you only really need to read my
DM> description carefully to see how it works. Nevertheless, I've gone to
DM> the trouble of actually implementing it (albeit in a very inefficient
DM> manner), and the source code follows. It works perfectly for all
DM> 32-bit or less numbers.

DM> --- (begin) ----

DM> /* bit count program */

>clipped<

Oops, I have found where I have gone wrong. You're right, it works.
Thanks for the explanations and the implementation.

Batchex
mailto:thedark1 AT Phreaker DOT net


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019