#11506: Fix the infinity ring.
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:  AlexGhitza
           Type:  defect             |       Status:  needs_info
       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             |  3531287276d95f0a60b762c4dc5475bee4860cba
   Dependencies:  #13125             |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by tscrim):

 * dependencies:  13125 => #13125


Comment:

 IMO this makes things worse: a potential subtle bug is better than a
 (generally) mathematically wrong answer. Irregardless, this is not a
 coercion as it is not a ring morphism:
 {{{
 sage: RIF(0, oo) - RIF(0, oo)
 [-infinity .. +infinity]
 sage: InfinityRing(RIF(0, oo) - RIF(0, oo))
 +Infinity
 sage: InfinityRing(RIF(0, oo)) - InfinityRing(RIF(0, oo))
 ---------------------------------------------------------------------------
 SignError                                 Traceback (most recent call
 last)
 ...
 SignError: cannot add infinity to minus infinity
 }}}

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