Hello, single reals can be represented in RIF. But they are not elements of that field, right? Due to some code quirks (discussed in #12984) we have at the moment: sage: 1/2 in RIF True sage: 1/5 in RIF False sage: 3.14 in RIF True sage: 3 in RIF True sage: pi in RIF False
As this behaviour is a RIF specialty it is more effective (and better design) to implement a dedicated RIF.__contains__ method than to fix the quirky Parent.__contains__. But what should be "in RIF"? Only intervals? Intervals and reals? Regards, -- You received this message because you are subscribed to the Google Groups "sage-devel" 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-devel. For more options, visit https://groups.google.com/d/optout.
