Using n() sometimes returns the wrong number of digits

This is correct:

sage: a = n(golden_ratio, digits=5000)
sage: len(str(a))
5001

This is not:

sage: a = n(golden_ratio, digits=5000000)
sage: len(str(a))
4999989

Any clue?


Jerome Tremblay
LaCIM, UQAM

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to