This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: random number generators - rand(), random(), etc
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Eric Rannaud <e at nanocritical dot com>
- Cc: jb <jb dot 1234abcd at gmail dot com>, libc-alpha <libc-alpha at sourceware dot org>
- Date: Fri, 07 Nov 2014 23:04:08 +0100
- Subject: Re: random number generators - rand(), random(), etc
- Authentication-results: sourceware.org; auth=none
- References: <loom dot 20141107T185212-863 at post dot gmane dot org> <CAH_=xoaB7zNpcTXu72nq1gjRYhJDsVjheMh5gOsYCwZgPHRAOQ at mail dot gmail dot com>
Eric Rannaud <e@nanocritical.com> writes:
> It appears rand() and random() not only share the implementation, they
> also share a single *instance* of the random number generator.
See BZ #14561.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."