Changes between Version 3 and Version 5 of Ticket #20074


Ignore:
Timestamp:
02/17/16 13:55:04 (6 years ago)
Author:
vdelecroix
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20074

    • Property Commit changed from 012ae1865e4c2ab7bdf422e58d4b806b69ebc069 to 66b22b5e512916c0d3f6cfb32cfc1603bb6b1980
  • Ticket #20074 – Description

    v3 v5  
    22- using python operator to indentify binary operators instead of strings. In other words we replace `'+'` by `operator.add`, `'-'` by `operator.sub`, etc
    33- writing only one function `binop` instead of `addsub` and `muldiv`.
    4 - removing the method `kind` of descriptors and instead use the class themselves for dispatching
     4- removing the methods `kind`,  `is_exact`, `is_rational`, `is_field_element` of descriptors and instead use the class themselves
     5- removing the method `rational_value` and directly access the `_value` attribute
    56- detect unions earlier in the code to avoid constructing `ANBinaryExpr`
    67
    7 As a consequence, we have exactification detected earlier
     8As a consequence of the last items, we have exactification detected earlier
    89{{{
    910sage: sqrt17 = QQbar(17).sqrt()
     
    13140
    1415}}}
    15 Instead of `0.?e-17` on the current beta.
     16Instead of `0.?e-17` on the current beta. See also the better output in doctests from the commit `012ae18`.
    1617
    1718follow up: #19955