| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Random Numerals |
PE> RS> Ok , i admit - you can't have perfect random numbers FM> For truly random numbers, try using radioactive decay. On the topic of random numbers, I seem to remenber that there is no way to tell if a finite series of numbers is *really* random or not - although you can calculate a probability that it is truly random. Chi sqared or something. Basically, unless you are using an infinite numer of random numbers, srand((int)time(NULL)) will give you random numbers more-or-less indistinguishable both theoretically and for all practical purposes from a sequence of truly random (probabilistic) nubers. PS - instead of radioactive decay, perhaps you could rig up a noisy transistor. PPS - yes I know that you didn't make the original posting, I hope you don't mind this being adressed to you. ... My hard disk is full! Maybe I'll try this message section thing. --- GEcho 1.00/gamma+* Origin: Dynamite BBS - ACT Australia - Line 3 - (06) 2429750 (3:620/250.0) SEEN-BY: 3/1 2 4 5 6 50/99 54/54 99 620/243 247 248 250 252 255 264 266 SEEN-BY: 623/630 711/401 409 430 807 808 809 934 712/623 627 713/888 714/906 SEEN-BY: 800/1 @PATH: 620/250 252 243 54/54 99 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.