Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Amy-0.6 released

Author: Dann Corbit

Date: 12:59:06 02/04/00

Go up one level in this thread


Pretty code.  I did find one odd thing:

char *
TimeToText (unsigned int secs)
{
  static char buffer[15];

  int neg = FALSE;
  /* SECONDS IS UNSIGNED AND HENCE, >= 0 */
  /* This test can safely be removed. */
  if (secs < 0)
    {
      neg = TRUE;
      secs = -secs;
    }
...



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.