Computer Chess Club Archives


Search

Terms

Messages

Subject: Pumping BitBoards

Author: Peter Fendrich

Date: 11:22:26 11/17/98


In my program, Terra, I have the following union:

typedef union BitBoardDef {
  unsigned __int64 i64;
  unsigned __int32 half[2];   // a5-h8 and a1-h4
} BITBOARD;

I always use BITBOARD as parameters to funcions and I also return BITBOARD's in
many functions.

Does compilers in general understand that BITBOARD really is an int64 or would
it be better to use pure int64 instead?

//Peter




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.