I think that Ralf's point is the following print (4.001^2).n(300) print ((4001/1000)^2).n(300)
16.0080010000000036995970731368288397789001464843750000000000000000000000000000000000000000 16.0080010000000000000000000000000000000000000000000000000000000000000000000000000000000000 print sqrt(4.001).n(300) print sqrt(4001/1000).n(300) 2.00024998437695300523841979156713932752609252929687500000000000000000000000000000000000000 2.00024998437695281987761450010498155779765165614814745039069047372837143657067970643422267 which has nothing to do with Pari, but rather that we have the convention of "once in a given precision, always there". Note the suspicious powers of 5 showing up (i.e. negative powers of 2) which presumably have nothing to do with the actual answer. At http://trac.sagemath.org/ticket/16025 he suggests raising a warning - I don't know if that is right, but it would be interesting to discuss whether this is user error or a bug or some third option. - kcrisman -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
