From: infinity girl Newsgroups: comp.os.msdos.djgpp Subject: randN Date: Mon, 22 Nov 1999 19:54:18 +1100 Organization: Optus Internet Lines: 18 Message-ID: <383904BA.AE45DCDE@mpx.com.au> NNTP-Posting-Host: 198.142.60.67 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news1.mpx.com.au 943264215 29868 198.142.60.67 (22 Nov 1999 09:50:15 GMT) X-Complaints-To: abuse AT mpx DOT com DOT au NNTP-Posting-Date: 22 Nov 1999 09:50:15 GMT X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com hey everyone, i'm wondering if anyone has written {or come across} C functions that produce random numbers under a Gaussian {normal} distribution? In other languages they are usually called randn or randg. it is quite a common thing..has anyone thought about possibly including functions like this in libm? I'm really looking fr something like this in ANSI C, and not in a library..I need source code fr portability. thanks fr any help, daniel.