MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Random Geometric (long)


Dear Dan,

Thank you for your answer.
Basically Random does not do its job correctly and its use should be
avoided for generating reals.
As i understand this is always the case, but was demonstrated well by
the discrete geometric distribution.
Thanks also for the alternative. Regarding the implementation of Random-CA i have one question:

Why do you use

((Random[Integer,2^30-1]/2^30.)+
	Random[Integer,2^30-1])/2^30.

and not

(Random[Integer, 2^30 - 1]/2^30.)

Regards,
Bernd


  • Prev by Date: read/write numbered files
  • Next by Date: subscripted symbols
  • Previous by thread: Re: read/write numbered files
  • Next by thread: Re: Random Geometric (long)