delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/05/14/03:13:57

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: <Pine.A32.3.91.970501000711.51092A-100000.cygnus.gnu-win32@enzu.unm.edu>
Mime-Version: 1.0
Original-To: Wei Ku <weiku AT UTKUX1 DOT UTK DOT EDU>
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".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019