On Jun 23, 2010, at 10:32 AM, Robert Miller wrote:

I'm curious about the following behavior:

sage: E = EllipticCurve('37a')
sage: R = E.padic_regulator(7)
sage: len(R.list())
37
sage: s = str(R)
sage: len(R.list())
19

(PS - The default precision for padic_regulator is 20).

The documentation doesn't say anything about what length to expect the
output list, and printing isn't the only thing which changes that
length:

sage: E = EllipticCurve('37a')
sage: R = E.padic_regulator(7)
sage: len(R.list())
37
sage: R.precision_absolute()
20
sage: len(R.list())
37
sage: R.precision_relative()
19
sage: len(R.list())
19

Is this a bug?

I'd say so.

- Robert

--
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