Am 2015-03-19 um 17:32 schrieb William Stein: > On Thu, Mar 19, 2015 at 2:48 AM, Ralf Stephan <[email protected]> wrote: > sage: RIF(1/5) == RIF(1/5) > False > > What's going on there? I don't know. But let's sort out why RIF(1/5) > isn't equal to itself. Even more surprising
Two RealIntervalFieldElements are only equal, if they are exact. As RIF(1/5) is not exact, it is not equal to itself. We chose a different behaviour for RealBalls implemented with Frederik's arb library: there, "is" is a subset of "==" (but otherwise, RBF(1/5) is still not equal to RBF(1/5). Regards, CH -- 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.
