Hello sage-devel,

I am lost in coercion again.  Can somebody please point out to me where
to find the code which converts PARI objects to a NumberFieldElement.
In other words, what happens in the third line below?

sage: K.<a> = NumberField(x^2 + 5)
sage: b = pari("Mod(x+1, x^2+5)")
sage: K(b)
a + 1

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