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 hankin.ro...@gmail.com -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org