swarm-support
[Top][All Lists]
Advanced

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

Re: wierd random number behavior


From: Marcus G. Daniels
Subject: Re: wierd random number behavior
Date: 19 Apr 1999 09:44:03 -0700

  randNum = [uniformDblRand getDoubleWithMin: 0.0 withMax: 1.0];

  printf ("\t\t fuel compared %f and %f \n", randNum, threshold);

                 fuel compared NaN and -28163390113.579769 

Strange, have you tried compiling without optimization?

How about a few more specifics on your Linux-based system?

(Seems like everything should be declared in this case..)

                  ==================================
   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]