Opened 15 years ago

Closed 15 years ago

#499 closed defect (fixed)

n() is undefined for rational numbers

Reported by: mabshoff Owned by: somebody
Priority: major Milestone: sage-2.8.4
Component: basic arithmetic Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


Reported by Ted Kosan in sage-support - see

x = 1/2

Exception (click to the left for traceback):
AttributeError: 'sage.rings.rational.Rational' object has no attribute 'n' 



Change History (1)

comment:1 Changed 15 years ago by was

  • Milestone changed from sage-2.9 to sage-2.8.4
  • Resolution set to fixed
  • Status changed from new to closed

This is done, but it's capital N:

sage: x = 1/2
sage: x.N()
Note: See TracTickets for help on using tickets.