Ticket #1356 (closed defect: fixed)
[with patch, with positive review] fix bug when taking abs() of exactly known QQbar
| Reported by: | cwitty | Owned by: | somebody |
|---|---|---|---|
| Priority: | major | Milestone: | sage-2.8.15 |
| Component: | basic arithmetic | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | Reviewers: | ||
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
The following test fails in 2.8.15.alpha1:
sage: v = QQbar.zeta(3) + 1
sage: v.exactify()
sage: v.abs().minpoly()
but the attached patch fixes it.
Attachments
Change History
comment:1 Changed 6 years ago by rlm
- Summary changed from [with patch] fix bug when taking abs() of exactly known QQbar to [with patch, tested] fix bug when taking abs() of exactly known QQbar
Now:
sage: v = QQbar.zeta(3) + 1 sage: v.exactify() sage: v.abs().minpoly() x - 1
Note: See
TracTickets for help on using
tickets.

