Let's say I need random numbers with increasing precision to simulate a particular function, so I try:
Table[SeedRandom[1];
RandomReal[{0, 1}, WorkingPrecision -> i], {i, 1, 20}] // TableForm
While I was experimenting with this, I checked docs for Random
and tried the following variation.
Table[SeedRandom[1]; Random[Real, {0, 1}, i], {i, 1, 20}] // TableForm
Question(s)
1- For my own learning, I was wondering if someone could please explain the difference.
2- How was something like this done prior to v6.0?
3- Or am I comparing apples with oranges?
4- With the same SeedRandom
, why are different random numbers being generated for the 2nd case as the precision changes?
Thanks in advance for your help.
Log[10, 2.^64]
is19.2659
. $\endgroup$