swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More newbie questions (problems with drand48)


From: Marcus G. Daniels
Subject: Re: More newbie questions (problems with drand48)
Date: 22 Jan 1999 17:24:35 -0800

>>>>> "JV" == Joseph E Villa <address@hidden> writes:

JV> My assumption had
JV> been that drand48 was a function that was defined in either <simtools.h>
JV> (imported) or <stdlib.h> (included). 

Try this instead:

int
random_move () 
{
  return [uniformIntRand getIntegerWithMin: -1 withMax: 1];
}


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]