Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Simple questions about bitboards

Author: Koundinya Veluri

Date: 20:38:39 09/20/03

Go up one level in this thread


On September 20, 2003 at 22:12:51, Edward Seid wrote:

>There also aren't any built-in operators for bitshifting, so a user-defined
>function would have to be used.  Do you see any problems in doing bitshifting
>using Int64?  Does the presence of a sign bit cause any problems?

The 2003 version of VB.NET has shift operators. It says that the shift operators
treat negative signed numbers as unsigned values so it should be fine. I'm not
sure about 2002 though.

I wonder if you have just VB.NET or the whole studio? If you have the whole
thing then you could write a shift function with another language. Another idea
is multiplying or dividing by a power of 2 instead. The compiler should (I would
hope) optimize that into a shift.

Regards,
Koundinya



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.