Opened 6 years ago
Closed 6 years ago
#18088 closed defect (fixed)
Inconsistency with 0^0
Reported by: | kcrisman | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-6.7 |
Component: | symbolics | Keywords: | pynac |
Cc: | Merged in: | ||
Authors: | Ralf Stephan | Reviewers: | Travis Scrimshaw |
Report Upstream: | Fixed upstream, in a later stable release. | Work issues: | |
Branch: | 4df15dd (Commits, GitHub, GitLab) | Commit: | 4df15dd3987bc77ef73177eb6a606a19f345fa1e |
Dependencies: | #18362 | Stopgaps: |
Description (last modified by )
See this ask.sagemath question. Apparently Ginac says zero to the zero is undefined but most of the rest of Sage (in accordance with IEEE) says it is one:
sage: ZZ(0)^ZZ(0) 1
but
sage: SR(0)^SR(0) ValueError: power::eval(): pow(0,0) is undefined
Change History (10)
comment:1 Changed 6 years ago by
- Component changed from basic arithmetic to symbolics
- Description modified (diff)
comment:2 Changed 6 years ago by
- Description modified (diff)
- Keywords pynac added
- Milestone changed from sage-6.6 to sage-6.7
- Report Upstream changed from N/A to Reported upstream. Developers acknowledge bug.
comment:3 Changed 6 years ago by
- Branch set to u/rws/inconsistency_with_0_0
comment:4 Changed 6 years ago by
- Commit set to 4df15dd3987bc77ef73177eb6a606a19f345fa1e
- Dependencies set to upcoming pynac-0.3.6
- Report Upstream changed from Reported upstream. Developers acknowledge bug. to Fixed upstream, in a later stable release.
- Status changed from new to needs_review
comment:5 Changed 6 years ago by
Should such tickets be "sage-pending", since the upcoming pynac isn't (yet) on a Sage ticket (or maybe it is since I last looked)? Just a procedure question, not a high priority question.
comment:6 Changed 6 years ago by
- Milestone changed from sage-6.7 to sage-pending
comment:7 Changed 6 years ago by
- Dependencies changed from upcoming pynac-0.3.6 to #18362
comment:8 Changed 6 years ago by
- Milestone changed from sage-pending to sage-6.7
comment:9 Changed 6 years ago by
- Reviewers set to Travis Scrimshaw
- Status changed from needs_review to positive_review
LGTM.
comment:10 Changed 6 years ago by
- Branch changed from u/rws/inconsistency_with_0_0 to 4df15dd3987bc77ef73177eb6a606a19f345fa1e
- Resolution set to fixed
- Status changed from positive_review to closed
Note: See
TracTickets for help on using
tickets.
New commits:
18088: doctest for fix of pynac issue 20