Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: getting the least significant bit.. optimizing java :]

Author: Johan Melin

Date: 11:19:42 08/13/03

Go up one level in this thread


On August 13, 2003 at 12:38:40, Johan Wessfeldt wrote:
>Ive tried some well known methods but with no results since Java's long(64 bits)
>datatype is signed. It messes up the bits..

Notice that in java the operator >> is signed right shift, you want to use >>>
which is unsigned right shift.

/Johan Melin



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.