Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 1996 11:02:22 +0300 (EET DST)
From:      Narvi <narvi@haldjas.folklore.ee>
To:        Terry Lambert <terry@lambert.org>
Cc:        Poul-Henning Kamp <phk@critter.tfs.com>, terry@lambert.org, ache@nagual.ru, rkw@dataplex.net, freebsd-hackers@freebsd.org
Subject:   Re: I plan to change random() for -current (was Re: rand() and random())
Message-ID:  <Pine.BSF.3.91.961009110043.19381A-100000@haldjas.folklore.ee>
In-Reply-To: <199610081739.KAA16518@phaeton.artisoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 8 Oct 1996, Terry Lambert wrote:

> > >The random number generator being used for the calculations I've
> > >referenced is the rand48 linear congruential generator.  It has a
> > >period well below the number of events being studied.
> > 
> > Since you have still not pointed out anybody stupid enough to use rand()
> > for their work, why do you still babble ?
> 
> Clearly you are not following this thread.
> 
> You missed Louis A. Mamakos's posting?
> 
> | Internet Draft of a protocol specification for multicast routing
> | protocol (draft-ietf-idmr-pim-sm-spec-05.txt):
> 
> Uses rand() for its hash function.
> 
> There.  Someone using rand().  Ball's back in your court.
> 

They aren't saying use rand. They say use formula xxx. Someone who does 
not define their own function for finding the result is asking for trouble.

	Sander

> 
> 					Terry Lambert
> 					terry@lambert.org
> ---
> Any opinions in this posting are my own and not those of my present
> or previous employers.
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.961009110043.19381A-100000>