Ticket #3373 (closed defect: fixed)

Opened 4 months ago

Last modified 2 months ago

ZZ division gives wrong sym_parent [new symbolics]

Reported by: cwitty Assigned to: gfurnish
Priority: major Milestone:
Component: symbolics Keywords:
Cc:

Description

For x a ZZ variable, 1/x claims to be an integer:

sage: var('x', ZZ)
x
sage: (1/x).sym_parent()
Integer Ring

But in Sage, integer division always gives a rational:

sage: parent(1/1)
Rational Field

Change History

07/18/2008 02:06:48 AM changed by gfurnish

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in sage-symbolics rev #10235

08/23/2008 01:14:14 AM changed by was

  • milestone deleted.

Milestone sage-symbolics deleted