Here is a bug: one should be able to coerce the element that created the number field into the number field:
sage: R = QQ[sqrt(2)] sage: R(sqrt(2)) Traceback ... TypeError: <class 'sage.calculus.calculus.SymbolicComposition'> I came across this while playing around: I was trying to build a number field containing sqrt(2), sqrt(3), ..., sqrt(n) to speed up some code that needs to work with sqrts. If you have any suggestions, that would be cool. Franco -- --~--~---------~--~----~------------~-------~--~----~ 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 For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---