random number?

Toon Moene toon@moene.indiv.nluug.nl
Mon May 21 12:01:00 GMT 2001


Fredrik Lundgren wrote:

> How do I generate a randomnumber in G77?

See the g77 documentation - in the online documentation it's this URL:

http://gcc.gnu.org/onlinedocs/gcc-2.95.3/g77_12.html#SEC309

Also note the SRAND function (to set a seed for the sequence of random
numbers).

Hope this helps,

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)



More information about the Gcc mailing list