Changes between Version 3 and Version 5 of Ticket #20074
- Timestamp:
- 02/17/16 13:55:04 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #20074
-
Property
Commit
changed from
012ae1865e4c2ab7bdf422e58d4b806b69ebc069
to66b22b5e512916c0d3f6cfb32cfc1603bb6b1980
-
Property
Commit
changed from
-
Ticket #20074 – Description
v3 v5 2 2 - using python operator to indentify binary operators instead of strings. In other words we replace `'+'` by `operator.add`, `'-'` by `operator.sub`, etc 3 3 - 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 5 6 - detect unions earlier in the code to avoid constructing `ANBinaryExpr` 6 7 7 As a consequence , we have exactification detected earlier8 As a consequence of the last items, we have exactification detected earlier 8 9 {{{ 9 10 sage: sqrt17 = QQbar(17).sqrt() … … 13 14 0 14 15 }}} 15 Instead of `0.?e-17` on the current beta. 16 Instead of `0.?e-17` on the current beta. See also the better output in doctests from the commit `012ae18`. 16 17 17 18 follow up: #19955