Newsgroups: comp.sources.wanted Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!think.com!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!jik From: jik@athena.mit.edu (Jonathan I. Kamens) Subject: Re: Random number generator Message-ID: <1991Mar20.232437.19190@athena.mit.edu> Sender: news@athena.mit.edu (News system) Organization: Massachusetts Institute of Technology References: <1991Mar20.173807.1975@sj.ate.slb.com> Distribution: usa Date: Wed, 20 Mar 91 23:24:37 GMT Lines: 30 In article <1991Mar20.173807.1975@sj.ate.slb.com>, bob@sj.ate.slb.com (Bob Firestine) writes: |> I am seeking random number generator, preferably written in C, that produces |> exactly the same results as the standard UNIX rand() function. Telnet to "quiche.cs.mcgill.ca", log in as "archie" with no password, type "set search exact" and then type "prog rand.c" and you will get a list of archive sites that have freely redistributable sources for rand(3). You probably want this one, although you will have to modify the #include's at the top unless you have ANSI C header files: Host uunet.uu.net (192.48.96.2) Last updated 23:36 6 Mar 1991 Location: /bsd-sources/lib/libc/stdlib FILE r--r--r-- 1358 Jun 1 1990 rand.c There's a man page too: Host uunet.uu.net (192.48.96.2) Last updated 23:36 6 Mar 1991 Location: /bsd-sources/lib/libc/stdlib FILE r--r--r-- 1838 May 16 1990 rand.3 -- Jonathan Kamens USnail: MIT Project Athena 11 Ashford Terrace jik@Athena.MIT.EDU Allston, MA 02134 Office: 617-253-8085 Home: 617-782-0710