set.resolution {rngwell19937} | R Documentation |
By resolution, we mean the number of random bits in the output numbers. The function allows to choose between resolution 53 and 32 bits.
set.resolution(resolution)
resolution |
The required number of bits. Should be 53 or 32. |
The new setting of the resolution is valid for the next calls to runif()
.
Resolution 53 bits requires two iterations of the internal generator and
their outputs are combined to a single number. Since an R call to runif()
performs also other actions than only calling the generator itself, the slow down
of 53 bit resolution compared to 32 bit resolution is about 20 percent.
There is no output value.