> My favourite is "in RealField(2)" just in case you fall into something
> with smaller precision. But if you prefer to work with coercion, then
> you should first remove SR(2.3) and 2*pi from your first list, and you
> could do something like:
> is_real = lambda self:
> get_coercion_model().common_parent(self.parent(),RealField(2)) is
In this case, I think that
should be enough. (And I think that's the most reasonable thing to do:
in doubt, prefer coercion over conversion!)
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.