Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rand(3F) — A/UX 0.7

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rand(3C)



     rand(3F)                                                 rand(3F)



     NAME
          irand, srand, rand - FORTRAN uniform random-number generator

     SYNOPSIS
          call srand(iseed)

          i = irand()

          x = rand( )

     DESCRIPTION
          irand generates successive pseudo-random numbers in the
          range from 0 to 2**15-1.  rand generates pseudo-random
          numbers distributed in (0, 1.0).  srand uses its integer
          argument to re-initialize the seed for successive
          invocations of irand and rand.

     SEE ALSO
          rand(3C).




































     Page 1                                        (last mod. 1/14/87)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026