Staging
v0.5.1
https://github.com/python/cpython
Revision 2268af58731c305b7bacaf7308189f6247f91894 authored by Jack Jansen on 06 August 1996, 16:04:22 UTC, committed by Jack Jansen on 06 August 1996, 16:04:22 UTC
1 parent cf34d2a
Raw File
Tip revision: 2268af58731c305b7bacaf7308189f6247f91894 authored by Jack Jansen on 06 August 1996, 16:04:22 UTC
Upgraded to Waste 1.2f
Tip revision: 2268af5
libwhrandom.tex
\section{Standard Module \sectcode{whrandom}}

\stmodindex{whrandom}
This module implements a Wichmann-Hill pseudo-random number generator.
It defines the following functions:

\renewcommand{\indexsubitem}{(in module whrandom)}
\begin{funcdesc}{random}{}
Returns the next random floating point number in the range [0.0 ... 1.0).
\end{funcdesc}

\begin{funcdesc}{seed}{x\, y\, z}
Initializes the random number generator from the integers
\var{x},
\var{y}
and
\var{z}.
When the module is first imported, the random number is initialized
using values derived from the current time.
\end{funcdesc}
back to top