From: jpmorgan AT unm DOT edu (James Paul Morgan) Subject: Re: link problems 14 May 1997 03:13:57 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Original-To: Wei Ku Original-cc: gnu-win32 AT cygnus DOT com In-Reply-To: <199704301641.MAA30060@solid.ssd.ornl.gov> Original-Sender: owner-gnu-win32 AT cygnus DOT com On Wed, 30 Apr 1997, Wei Ku wrote: > Is it true that srand and rand are not nearly as random ? I had suspicion > on the randomness of the result of them. However, it is not verified yet. > Actually, I am taking that statment from the documentation for either the g++ or xlC compiler that is installed on our school system. (I didn't look to see which compiler's lib that document was specificallly from.) There were specific numbers quoted with in the documentation. Basically, it boiled down to the fact that the random() has a much longer sequence of numbers before repeating, therefore having more variety. (Or something similar.) It was also mentioned in one of our C++ text books, though no specifics were given there. See ya around the Mulberry bush. --James :) - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".