For a bug report to be useful, you should tell us how to reproduce this. I
can reproduce it, but not in a way which makes this a bug: evaluating
sage: sqrt = 3
sage: sqrt?
leads to your output. This is not a bug, of course, because I redefined
sqrt on the first line.
So how did you get this?
On Friday, November 29, 2013 11:24:49 PM UTC-8, Rolandb wrote:
>
> *File:* /home/sage/sage-5.12/devel/sage/sage/rings/integer.pyx
>
> *Type:* <type ‘sage.rings.integer.Integer’>
>
> *Definition:* sqrt( [noargspec] )
>
> *Docstring:*
>
> The Integer class represents arbitrary precision integers. It derives
> from the Element class, so integers can be used as ring elements anywhere
> in Sage.
>
> Integer() interprets numbers and strings that begin with 0 as octal
> numbers, and numbers and strings that begin with 0x as hexadecimal numbers.
>
> The class Integer is implemented in Cython, as a wrapper of the GMP mpz_t
> integer
> type.
>
> EXAMPLES:
>
> *sage: *Integer(010)
>
> 8
>
> *sage: *Integer(0x10)
>
> 16
>
> *sage: *Integer(10)
>
> 10
>
> *sage: *Integer('0x12')
>
> 18
>
> *sage: *Integer('012')
>
> 10
>
> Conversion from PARI:
>
> *sage: *Integer(pari('-10380104371593008048799446356441519384'))
>
> -10380104371593008048799446356441519384
>
> *sage: *Integer(pari('Pol([-3])'))
>
> -3
>
--
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/groups/opt_out.