[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Bitfields
From: |
W.Stroop |
Subject: |
Re: [Bug-gnubg] Bitfields |
Date: |
Mon, 25 Nov 2002 11:09:00 +0100 |
----- Original Message -----
From: "Jim Segrave" <address@hidden>
To: "W.Stroop" <address@hidden>
Cc: <address@hidden>
Sent: Monday, November 25, 2002 8:18 AM
Subject: Re: [Bug-gnubg] Bitfields
[snip]
> 1) All the bitfields are being used as single bit boolean variables.
Well I dont think so
>From eval.h :
typedef struct _evalcontext {
/* FIXME expand this... e.g. different settings for different position
classes */
unsigned int nSearchCandidates : 7;
unsigned int fCubeful : 1; /* cubeful evaluation */
unsigned int nPlies : 3;
unsigned int nReduced : 2; /* this will need to be expanded if we add
support for nReduced != 3 */
unsigned int fDeterministic : 1;
unsigned int fNoOnePlyPrune : 1;
float rSearchTolerance;
float rNoise; /* standard deviation */
} evalcontext;
As you see a 7 3 2 and 3 bit fields are also used.
[Bug-gnubg] Bitfields, W.Stroop, 2002/11/25
[Bug-gnubg] bitfields, W.Stroop, 2002/11/25