home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- From: raph@panache.demon.co.uk (Raphael mankin)
- Path: sparky!uunet!pipex!demon!panache.demon.co.uk!raph
- Subject: Re: Universal random number generator better than just rand()
- Distribution: world
- References: <29257@optima.cs.arizona.edu>
- Organization: Solvfield Ltd.
- Reply-To: raph@panache.demon.co.uk
- X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
- Lines: 16
- Date: Fri, 8 Jan 1993 16:26:05 +0000
- Message-ID: <726510365snz@panache.demon.co.uk>
- Sender: usenet@demon.co.uk
-
- In article <29257@optima.cs.arizona.edu> azhao@cs.arizona.edu writes:
-
- >Hi there,
- >
- >Concerning about ANSI-C and POSIX portability of a program, I'm looking
- >for a "universal" random number generator. It must be better than just
- >rand().
- >
- Look through the back numbers of the CommACM. Within the past few months there
- has been an article on how to write a ``proper'' random number generator.Sorry,
- I am not next to my archives and can't look up the issue number for you.
-
- The whole thing is about 10 lines of code.
- --
- --------------
- Raphael Mankin Nil taurus excretum
-