bsd man page for irandm

Query: irandm

OS: bsd

Section: 3f

Links: bsd man pages   all man pages

Forums: unix linux community   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

RANDOM(3F)																RANDOM(3F)

NAME
random, drandm, irandm - better random number generator
SYNOPSIS
function irandm (iflag) function random (iflag) double precision function drandm (iflag)
DESCRIPTION
These functions use random(3) to generate sequences of random numbers, and should be used rather than the older functions described in man 3f rand. If iflag is non-zero, it is used as a new seed for the random number generator, and the first new random value is returned. Irandm returns positive integers in the range 0 through 2147483647 ( 2**31-1). Random and drandm return values in the range 0. through 1.0 by dividing the integer random number from random(3) by 2147483647 .
FILES
/usr/lib/libF77.a
SEE ALSO
random(3) 4.3 Berkeley Distribution May 15, 1985 RANDOM(3F)
Related Man Pages
setstate(3) - bsd
initstate(3) - redhat
setstate(3) - redhat
srandom(3) - redhat
rand(3ucb) - sunos
Similar Topics in the Unix Linux Community
Memory leak with awk on MacOs
Mail/mailx ignores newline formatting Problem.
LM 19.1 from pendrive
Don Cragun crossing 4500 thanks went unnoticed for more than a week - late congratulations!
Is it safe to install x86 Solaris 10 U6 after installed-Linux-and-FreeBSD?