Author: Gian-Carlo Pascutto
Date: 12:40:07 10/05/02
Go up one level in this thread
On October 05, 2002 at 15:34:19, Gian-Carlo Pascutto wrote: >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. Okay, I googled and I now know this is implementation-dependent. Apparently Intel C, MSVC and GCC on x86 handle it as expected but I should expect to burn my fingers someday. -- 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.