Opened 15 years ago

Closed 14 years ago

#2515 closed defect (fixed)

[resolved by #5735] ExtendedRationalField not so extended

Reported by: Eric Drechsel Owned by: Carl Witty
Priority: minor Milestone: sage-3.4.1
Component: misc Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A 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 15 years ago by Burcin Erocal

Component: group_theorymisc
Owner: changed from joyner to Carl Witty

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 14 years ago by Michael Abshoff

Summary: ExtendedRationalField not so extended[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 14 years ago by Michael Abshoff

Milestone: sage-3.4.2sage-3.4.1
Resolution: fixed
Status: newclosed

Fixed in Sage 3.4.1.rc3 via #5735.

Cheers,

Michael

Note: See TracTickets for help on using tickets.