Opened 14 years ago

Closed 13 years ago

#2515 closed defect (fixed)

[resolved by #5735] ExtendedRationalField not so extended

Reported by: edrex Owned by: cwitty
Priority: minor Milestone: sage-3.4.1
Component: misc Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

ExtendedRationalField(1)/ExtendedRationalField(0)

yields

ZeroDivisionError: Rational division by zero

Same for ExtendedIntegerRing?(1)/ExtendedIntegerRing?(0)

Presumably these should both yield +Infinity?

Change History (3)

comment:1 Changed 14 years ago by burcin

  • Component changed from group_theory to misc
  • Owner changed from joyner to cwitty

The way Sage handles infinity should be revised in general. I say ExtendedRationalRing (and ExtendedIntegerRing) should go away altogether, since the signed and unsigned infinity rings in sage/rings/infinity.py handle the situations when infinity is encountered adequately, at least after #1915 is fixed.

comment:2 Changed 13 years ago by mabshoff

  • Summary changed from ExtendedRationalField not so extended to [resolved by #5735] ExtendedRationalField not so extended

This ticket should be closed once #5735 is merged since the functionality will be removed from Sage - for details see that ticket.

Cheers,

Michael

comment:3 Changed 13 years ago by mabshoff

  • Milestone changed from sage-3.4.2 to sage-3.4.1
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in Sage 3.4.1.rc3 via #5735.

Cheers,

Michael

Note: See TracTickets for help on using tickets.