#17166: Add coercion complex -> CC
-------------------------------------+-------------------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.4
Component: coercion | Resolution:
Keywords: | Merged in:
Authors: Jeroen Demeyer | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/jdemeyer/ticket/17166 | d00b70614ae504cec82bd75de9e1147204b25944
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jdemeyer):
Replying to [comment:9 vbraun]:
> What I originally meant was just that Python `complex` should coerce to
CDF and not CC.
Having a coercion `complex -> CDF` and `CDF -> CC` but not `complex -> CC`
sounds strange to me. Moreover, that would be inconsistent with
{{{
sage: RR.has_coerce_map_from(float)
True
sage: RDF.has_coerce_map_from(float)
True
}}}
Whatever the outcome of this ticket is, the behaviour of `complex / CDF /
CC` should be the same as `float / RDF / RR`.
--
Ticket URL: <http://trac.sagemath.org/ticket/17166#comment:10>
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.