srand man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



RAND(3F)							      RAND(3F)

NAME
     rand, irand, srand - random number generator

SYNOPSIS
     integer iseed, i, irand
     double precision x, rand

     call srand(iseed)

     i = irand( )

     x = rand( )

DESCRIPTION
     Irand generates successive pseudo-random integers 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

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net