Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: [ot] when using >>, filling with 0 or 1

Author: Gian-Carlo Pascutto

Date: 12:34:19 10/05/02

Go up one level in this thread


On October 05, 2002 at 15:29:03, Dann Corbit wrote:

>Shifting negative numbers is generally not a good idea unless you have no other
>choice and then you must be careful.

Care to elaborate?

I tend to write score /= 2 for example as score >>= 1 and never
noticed anything wrong with this.

--
GCP



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.