#11506: Fix the infinity ring.
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:  AlexGhitza
           Type:  defect             |       Status:  needs_review
       Priority:  blocker            |    Milestone:  sage-6.3
      Component:  algebra            |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Volker Braun       |    Reviewers:  Peter Bruin
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vbraun/infinity_ring             |  cd9242959af9fda6d5351f8410889b36d6b6a392
   Dependencies:  13125              |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by vbraun):

 `unsigned_infinity in RR` returns true because there are coercions RR ->
 signed infinity ring -> unsigned infinity ring:
 {{{
 sage: get_coercion_model().explain(unsigned_infinity, RR(oo), operator.eq)
 Coercion on right operand via
     Conversion map:
       From: Real Field with 53 bits of precision
       To:   The Unsigned Infinity Ring
 Arithmetic performed after coercions.
 Result lives in The Unsigned Infinity Ring
 The Unsigned Infinity Ring
 }}}
 We could disallow the conversion RR(unsigned_infinity) but it would not
 change anything.

 I agree with you that the infinity representation in CDF and CC sucks, but
 thats another ticket...

--
Ticket URL: <http://trac.sagemath.org/ticket/11506#comment:20>
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.

Reply via email to