🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #24726

Re: Universal random number generator better than just rand()

#24726
From: Raphael mankin
Date: Fri, 08 Jan 1993 16:26
16 lines
1096 bytes
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
Technical Details
Message-ID: <726510365snz@panache.demon.co.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!demon!panache.demon.co.uk!raph
References: <29257@optima.cs.arizona.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.x
From: raph@panache.demon.co.uk (Raphael mankin)
Path: arc1-ca.pugleaf.net!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