diff options
author | Bruno Haible <bruno@clisp.org> | 2013-11-01 12:23:51 +0100 |
---|---|---|
committer | Ondřej Bílka <neleai@seznam.cz> | 2013-11-01 12:23:51 +0100 |
commit | 8c5c2600af016b00496cebdae34fddf9a59fc8b9 (patch) | |
tree | fd85ffe046a861f1ff11c7feff446e7c3fb975cf /manual/math.texi | |
parent | 6cefed76543ea2f6a23bd043480c5c36b4c6b801 (diff) | |
download | glibc-8c5c2600af016b00496cebdae34fddf9a59fc8b9.zip glibc-8c5c2600af016b00496cebdae34fddf9a59fc8b9.tar.gz glibc-8c5c2600af016b00496cebdae34fddf9a59fc8b9.tar.bz2 |
Fix description of random according to POSIX. Fixes bug 7003
Diffstat (limited to 'manual/math.texi')
-rw-r--r-- | manual/math.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/math.texi b/manual/math.texi index 193d415..57cf24f 100644 --- a/manual/math.texi +++ b/manual/math.texi @@ -1364,7 +1364,7 @@ The prototypes for these functions are in @file{stdlib.h}. @comment BSD @deftypefun {long int} random (void) This function returns the next pseudo-random number in the sequence. -The value returned ranges from @code{0} to @code{RAND_MAX}. +The value returned ranges from @code{0} to @code{2147483647}. @strong{NB:} Temporarily this function was defined to return a @code{int32_t} value to indicate that the return value always contains |