From: cwr AT cts DOT com (Will Rose) Newsgroups: comp.lang.c,comp.os.msdos.djgpp Subject: Re: An inline assembler RNG for C Followup-To: comp.lang.c,comp.os.msdos.djgpp Date: 18 Feb 1999 01:35:20 GMT Organization: CTS Network Services (CTSNET), San Diego, CA Lines: 20 Message-ID: <7afqoo$207$2@nusku.cts.com> References: <36CB0BF1 DOT 23FF9E2 AT stat DOT fsu DOT edu> NNTP-Posting-Host: crash-i2.cts.com X-Trace: nusku.cts.com 919301720 2055 205.163.0.7 (18 Feb 1999 01:35:20 GMT) X-Complaints-To: usenet AT nusku DOT cts DOT com NNTP-Posting-Date: 18 Feb 1999 01:35:20 GMT X-Newsreader: TIN [version 1.2 PL2] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com George Marsaglia (geo AT stat DOT fsu DOT edu) wrote: : After a number of requests for random number generators : in C, I thought it worthwhile to learn enough C to suggest : a few methods. A posting of the methods in sci.stat.math, : sci.math and sci.math.num-analysis led to a number of responses : and improvements. The various postings may be found in those newsgroups : or via deja news (a search on LFIB4 may be the most effective). : But one of my most promising methods cannot be implemented : directly in C, and the main purpose of this posting is to : seek help on how it might be done, via inline assembler. Probably the place to start for a PRNG in C code is Bruce Scheir's Yarrow. (www.counterpane.com). Will cwr AT crash DOT cts DOT com