Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Sign of Integer Operands: int vs unsigned int

Author: Daniel Clausen

Date: 05:28:42 09/28/03

Go up one level in this thread


On September 28, 2003 at 07:58:17, Ricardo Gibert wrote:

[snip]

>Both
>
>    for(unsigned i=63; (int) i>=0; i--)  { ... }
>
>and
>
>    for(unsigned i=63; i!=UINT_MAX; i--)  { ... }

Yeah, but they're just plain ugly in my opinion. :o)

Sargon



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.