[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Replacing rand()
- From: Brian Weed <bw@...>
- Date: Thu, 26 Feb 2004 18:47:59 -0500
As long as you
can over-ride Math.random() and Math.randomseed(),
then I don't recommend changing the standard library
functions for some new/better routine.
Unless
you are trying to guarantee cross platform compatibility out of the
box.
Brian.
> Isn't there a way to
override a library function like Math.random() ?
function math.random() return "this is random behaviour"
end