Opened 4 years ago

Last modified 4 years ago

#23246 closed enhancement

Rational : Set a unique implementation for denom, denominator and numer, numerator — at Initial Version

Reported by: vklein Owned by:
Priority: trivial Milestone: sage-8.0
Component: basic arithmetic Keywords: thursdaysbdx
Cc: vdelecroix Merged in:
Authors: Vincent Klein Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

In class Rational instance method denom and denominator have the same implementation (code duplication). The same goes for methods numer and numerator.

  • Set numer as an alias for numerator.
  • Set denom as an alias for denominator.

Change History (0)

Note: See TracTickets for help on using tickets.