Date: Thu, 9 Feb 1995 01:21:44 +0900 From: Stephen Turnbull To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: rand48 I took a look in the archives, and discovered a couple of discussions of rand48, but only the suggestion that it be used; no references that I could find. archie (archie.sura.net and whatever the default host for .jp is) couldn't find rand48, srand48, or lrand48. man lrand48 got me some Japanese information on our Sun. There were no algorithm citations, nor copyright or whatever. The algorithm itself seemed to be pretty carefully described, but I'm not fluent enough (Japanese text looks a lot like a 2D random bitmap to me at this time of night) to try to parse it. Maybe somebody could try man on their Sun. Oh, BTW it's not implemented for Linux GCC. (At least it didn't show up in the man pages. Hang a sec....) Oops; it *is* in libc.a and a test program shows random behavior (ie, looks like the answers of a typical student on the last multiple choice test I gave). I don't have the source, but you can surely get it on sunsite.unc.edu or other Fine Linux Mirror near you. Good luck! -- Stephen Turnbull / Yaseppochi-gumi / http://turnbull.sk.tsukuba.ac.jp/ anon FTP: turnbull.sk.tsukuba.ac.jp Check out Kansai-WWW, too ------------> http://pclsp2.kuicr.kyoto-u.ac.jp/