Author: Ed Trice
Date: 06:48:45 01/09/04
Go up one level in this thread
Hi Tord , > >if(x) y += 20; > > >y += (!(!x))*20; > How about y += (x > 0)(20); The only way to tell which is better is to benchmark both. In terms of the overall computation, this is probably exceedingly small.
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.