Opened 6 years ago

Last modified 6 years ago

#20074 closed enhancement

QQbar cleaning 2 — at Initial Version

Reported by: vdelecroix Owned by:
Priority: major Milestone: sage-7.1
Component: number fields Keywords:
Cc: Merged in:
Authors: Vincent Delecroix Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: #19954 Stopgaps:

Status badges

Description

We further simplify QQbar code by:

  • using python operator to indentify binary operators instead of strings. In other words we replace '+' by operator.add, '-' by operator.sub, etc
  • writing only one function binop instead of addsub and muldiv.
  • removing the method kind of descriptors and instead use the class themselves for dispatching
  • detect unions earlier in the code to avoid constructing ANBinaryExpr

Change History (0)

Note: See TracTickets for help on using tickets.