On 05/13/2012 12:50 PM, Lorenzo wrote: > u = sqrt(43203735824841025516773866131535024)
We actually have a doctest confirming that it's awful =) This would probably be an easy project. Definition: u.round(self) Source: def round(self): """ Round this expression to the nearest integer. This method evaluates an expression in ``RR`` first and rounds the result. This may lead to misleading results. EXAMPLES:: sage: t = sqrt(Integer('1'*1000)).round(); t 3333333333333333056287287783757109595393... This is off by a huge margin:: sage: (Integer('1'*1000) - t^2).ndigits() 984 """ #FIXME: can we do better? -- 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