#17984: Dedicated RR.__contains__() and CC.__contains__()
-------------------------+-------------------------------------------------
Reporter: rws | Owner:
Type: | Status: needs_work
enhancement | Milestone: sage-6.6
Priority: major | Resolution:
Component: basic | Merged in:
arithmetic | Reviewers:
Keywords: | Work issues:
Authors: Ralf | Commit:
Stephan | 39ab5b2a9f6057e08a7aced6f58daa2de3c4cbe6
Report Upstream: N/A | Stopgaps:
Branch: |
u/rws/17984 |
Dependencies: |
-------------------------+-------------------------------------------------
Comment (by rws):
Replying to [comment:4 jdemeyer]:
> {{{
> sage: RealField(10)(1/3) in RR
> True
> sage: RealField(10)(1/3) in CC
> False
> }}}
Clever. But before I fix this: What about the doctests? Do you think that
any of them gives a wrong result? Do you agree that precision issue should
be ignored when it comes to the behaviour of the `contains` function?
--
Ticket URL: <http://trac.sagemath.org/ticket/17984#comment:9>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" 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-trac.
For more options, visit https://groups.google.com/d/optout.