I am trying to generate random numbers and am running into roundoff
problems:

RealDistribution('uniform', [1,1+1/10^16]).get_random_element()-1

This returns zero every time for me, something that is almost surely
wrong.  I would expect a number chosen from the interval (0,1e-16).

How do I make sage do what I want?

thanks


-- 
Robin Hankin
Uncertainty Analyst
[email protected]

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to