Staging
v0.5.1
https://github.com/python/cpython
Revision 6d9cc808a22f58e8702fe23dd27a2d878e416db7 authored by Guido van Rossum on 01 August 1996, 17:31:22 UTC, committed by Guido van Rossum on 01 August 1996, 17:31:22 UTC
1 parent ff0c4b5
Raw File
Tip revision: 6d9cc808a22f58e8702fe23dd27a2d878e416db7 authored by Guido van Rossum on 01 August 1996, 17:31:22 UTC
Final text for beta2 release. Hopefully no pre-1.4 information is left.
Tip revision: 6d9cc80
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