On Tue, Oct 30, 2012 at 10:54 PM, mmarco <mma...@unizar.es> wrote:
> Is there some reason for this or is it a bug? Shouldn't the answer be,
> at least, a sage Integer and not a python int?

Returning a Sage Integer would be consistent with this:

sage: type(sqrt(1))
<type 'sage.rings.integer.Integer'>
sage: type(sqrt(2))
<type 'sage.symbolic.expression.Expression'>

Fredrik

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To post to this group, send email to sage-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-devel+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.


Reply via email to