diff options
author | Tim Peters <tim.peters@gmail.com> | 2006-02-21 18:48:34 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2006-02-21 18:48:34 (GMT) |
commit | 4d0bd0b32c7a38223887509d4b3b9fe76b23120b (patch) | |
tree | c99861f4ef9d93c039f9fa6051bba44fcdecec82 /Doc | |
parent | c2fb6c74c65548ae2eedab32ba8116e62eb3adaf (diff) | |
download | cpython-4d0bd0b32c7a38223887509d4b3b9fe76b23120b.zip cpython-4d0bd0b32c7a38223887509d4b3b9fe76b23120b.tar.gz cpython-4d0bd0b32c7a38223887509d4b3b9fe76b23120b.tar.bz2 |
Trimmed trailing whitespace.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/librandom.tex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/lib/librandom.tex b/Doc/lib/librandom.tex index 9d76574..f95f106 100644 --- a/Doc/lib/librandom.tex +++ b/Doc/lib/librandom.tex @@ -23,7 +23,7 @@ Almost all module functions depend on the basic function \function{random()}, which generates a random float uniformly in the semi-open range [0.0, 1.0). Python uses the Mersenne Twister as the core generator. It produces 53-bit precision floats and has a -period of 2**19937-1. The underlying implementation in C +period of 2**19937-1. The underlying implementation in C is both fast and threadsafe. The Mersenne Twister is one of the most extensively tested random number generators in existence. However, being completely deterministic, it is not suitable for all purposes, and is @@ -106,8 +106,8 @@ Bookkeeping functions: other generators may also provide it as an optional part of the API. When available, \method{getrandbits()} enables \method{randrange()} to handle arbitrarily large ranges. - \versionadded{2.4} -\end{funcdesc} + \versionadded{2.4} +\end{funcdesc} Functions for integers: @@ -269,7 +269,7 @@ called. number generator'', \citetitle{ACM Transactions on Modeling and Computer Simulation} Vol. 8, No. 1, January pp.3-30 1998.} - + \seetext{Wichmann, B. A. \& Hill, I. D., ``Algorithm AS 183: An efficient and portable pseudo-random number generator'', \citetitle{Applied Statistics} 31 (1982) 188-190.} |