Computer Chess Club Archives


Search

Terms

Messages

Subject: Thanks evrybody for setting me straight [nt]

Author: Dave Kuntzsch

Date: 17:24:20 07/01/04

Go up one level in this thread


On July 01, 2004 at 16:15:41, Dave Kuntzsch wrote:

>In blitz tournaments I run, Crafty always seems to leave a lot of time on the
>table at the end, so I took look at time.c to see if there was a reason. There I
>ran across the 'USAGE' .rc parameter and decided to specify that as 50 in
>crafty.rc. It made no difference at all. I took a closer look at the code and
>saw this:
>time_limit *= 1.0 + usage_level / 100.0;
>
>If the purpose is to increase the time limit by some percentage, shouldn't there
>be parenthesis around the expression like this?
>time_limit *= (1.0 + usage_level / 100.0);
>
>Please correct me if I'm wrong.
>
>Dave



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.