Author: Mathieu Pagé
Date: 01:39:59 01/19/04
Go up one level in this thread
On January 19, 2004 at 01:00:14, Michael Henderson wrote:
>I have the following struct for a hash element in C language:
>
>struct hashElement {
> U64 hashLock;
> signed short int score;
> signed depth: 10;
> unsigned flag: 2;
> move bestSavedMove;
>};
>
>My worry is, would this type of struct be portable, and have the inner workings
>of bitfield been standardized?
Yes, it's part of ANSI C, so it's supposed to be portable.
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.