Opened 5 years ago

Closed 4 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) Commit: 4df15dd3987bc77ef73177eb6a606a19f345fa1e
Dependencies: #18362 Stopgaps:

Description (last modified by rws)

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

Issue at https://github.com/pynac/pynac/issues/20

Change History (10)

comment:1 Changed 5 years ago by tmonteil

  • Component changed from basic arithmetic to symbolics
  • Description modified (diff)

comment:2 Changed 5 years ago by rws

  • 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 5 years ago by rws

  • Branch set to u/rws/inconsistency_with_0_0

comment:4 Changed 5 years ago by rws

  • Authors set to Ralf Stephan
  • 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

New commits:

4df15dd18088: doctest for fix of pynac issue 20

comment:5 Changed 5 years ago by kcrisman

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 5 years ago by rws

  • Milestone changed from sage-6.7 to sage-pending

comment:7 Changed 5 years ago by rws

  • Dependencies changed from upcoming pynac-0.3.6 to #18362

comment:8 Changed 5 years ago by rws

  • Milestone changed from sage-pending to sage-6.7

comment:9 Changed 5 years ago by tscrim

  • Reviewers set to Travis Scrimshaw
  • Status changed from needs_review to positive_review

LGTM.

comment:10 Changed 4 years ago by vbraun

  • 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.