Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!linus!philabs!cmcl2!seismo!brl-tgr!tgr!ssalzman.es@XEROX.ARPA From: ssalzman.es@XEROX.ARPA Newsgroups: net.micro.cpm Subject: random numbers Message-ID: <9829@brl-tgr.ARPA> Date: Tue, 9-Apr-85 12:13:30 EST Article-I.D.: brl-tgr.9829 Posted: Tue Apr 9 12:13:30 1985 Date-Received: Fri, 12-Apr-85 04:26:23 EST Sender: news@brl-tgr.ARPA Lines: 10 I need a Modula-2 procedure to generate psuedo random numbers for an IBM PC. In general I need a good algorithm for any machine with 16 bit integers, that has a good long cycle life and uniform distribution (can be 'C' or Pascal). Also, does anyone have an algorithm to generate random numbers with a NORMAL distribution. If anyone has anything, please send it in the mail, I can't FTP from this account. Thanks in advance.... Isaac Salzman (SSalzman.ES@Xerox.ARPA)