summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2006-05-04 12:55:49 (GMT)
committerdgp <dgp@users.sourceforge.net>2006-05-04 12:55:49 (GMT)
commit71536416ed0e6ce72d256d64c61ac0ecf23df29e (patch)
treecba1f9b31b18f6794aa9c4098ddb6bd320e4d2d6 /doc
parent2840d97d6aed2d51eb86b9f7ebde9e0f328de61d (diff)
downloadtcl-71536416ed0e6ce72d256d64c61ac0ecf23df29e.zip
tcl-71536416ed0e6ce72d256d64c61ac0ecf23df29e.tar.gz
tcl-71536416ed0e6ce72d256d64c61ac0ecf23df29e.tar.bz2
* generic/tclBasic.c (ExprSrandFunc): Restore acceptance of wide/big
* doc/mathfunc.n: integer values by srand() [Bug 1480509].
Diffstat (limited to 'doc')
-rw-r--r--doc/mathfunc.n7
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/mathfunc.n b/doc/mathfunc.n
index 21d0371..c3133b2 100644
--- a/doc/mathfunc.n
+++ b/doc/mathfunc.n
@@ -6,7 +6,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: mathfunc.n,v 1.9 2006/04/26 04:41:10 dgp Exp $
+'\" RCS: @(#) $Id: mathfunc.n,v 1.10 2006/05/04 12:55:49 dgp Exp $
'\"
.so man.macros
.TH mathfunc n 8.5 Tcl "Tcl Mathematical Functions"
@@ -232,9 +232,8 @@ argument is a numeric value that exceeds the square of the maximum value of
the floating-point range.
.TP
\fBsrand(\fIarg\fB)\fR
-The \fIarg\fR, which must be an integer value acceptable to
-\fBstring is integer\fR (that is, a 32-bit integer), is used to reset the
-seed for the random number generator of \fBrand\fR. Returns the first random
+The \fIarg\fR, which must be an integer, is used to reset the seed for
+the random number generator of \fBrand\fR. Returns the first random
number (see \fBrand()\fR) from that seed. Each interpreter has its own seed.
.TP
\fBtan(\fIarg\fB)\fR