TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Mike Bilow
from: Sean Price
date: 1996-05-21 11:58:20
subject: Random Seed

Hello Mike!

Replying to a message of Mike Bilow to Sean Price:

 SP>>         Why a prime modulus?

 MB> I'll let you think about that one for a little while.  :-)

        I still don't get it.  How would a prime modulus be better than
using INT_MAX as the modulus?  The ELF returns an unsigned long which needs
to be converted to an unsigned int for srand();

 SP>>         Interesting.  Fortunately, this application doesn't
 SP>> really require a good random number generator.  The program
 SP>> is just a simple text based background bitmap changer.

 MB> You've already put far more effort into this than it was worth.

        True.  It's something that I really only wrote for my own use
originally.  A friend convinced me to clean it up and release it as
freeware.  So, I had to add a few features/options.  At any rate, it's been
awhile since I've worked in C and I needed the practice.

Sean Price
Rude Dog Software
sprice{at}ridgecrest.ca.us
http://www1.ridgecrest.ca.us/~sprice/rudedog.html

--- FleetStreet 1.10 NR
* Origin: Sanctuary from The Law BBS - (619)377-3611 - Inyokern, CA (1:205/46)
SEEN-BY: 50/99 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1
@PATH: 205/46 500 1 270/101 712/515 711/808 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™.