On Mar 1, 2010, at 7:50 AM, Pierre wrote:

hi all,

is this a bug or intentional ?

sage: x=  QQ['x'].gen()
sage: n= x.numerator()
sage: x.parent()
Q[x]
sage: n.parent()
Z[x]

what about this Z popping out of nowhere ? (well...) It's certainly
making my like (a little) more complicated (i have a more involved
example of course, and i proceed to look for prime divisors of the
numerator).


This is just the general definition of numerator and denominator extended from Q to Q[x]. I don't see any other definition of numerator that would make more sense here...

- Robert

--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to