Skip to content
Prev 165875 / 398502 Next

runif limited precision

On 02/01/2009 2:45 PM, Stavros Macrakis wrote:
It refers to the .Random.seed page for details, and that page mentions 
the limitation to at most 2^32 different values for most of the generators.
Your interval is 2^31 units long, and you're getting values on the 
integers and halfway between, so that looks like 2^32 bits, not 2^31.
Same here.

Duncan Murdoch