Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Countbits() Function

Author: Daniel Clausen

Date: 12:14:38 01/03/99

Go up one level in this thread


Hi,

On January 03, 1999 at 14:27:16, Ernst A. Heinz wrote:

>On January 03, 1999 at 10:19:17, Carsten Kossendey wrote:
>
>>On January 03, 1999 at 08:29:23, Roberto Waldteufel wrote:
>>
>>>Hi all,

[stuff deleted]

>No need to use assembler here because the wonders of binary subtraction and the
>two's complement allow for portable yet efficient ANSI-C formulations of both
>iterative and non-iterative population-count functions/macros.

It's not that important I guess (at least in this discussion), but ANSI-C
doesn't provide a 64bit integer datatype. The type "long long" does not exist
in ANSI-C and is merely an extention of the language.

[more stuff deleted]

cu,
 -daniel



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.