#18088: Inconsistency with 0^0
-------------------------------------------------+-------------------------
       Reporter:  kcrisman                       |        Owner:
           Type:  defect                         |       Status:  new
       Priority:  major                          |    Milestone:  sage-6.7
      Component:  symbolics                      |   Resolution:
       Keywords:  pynac                          |    Merged in:
        Authors:                                 |    Reviewers:
Report Upstream:  Reported upstream. Developers  |  Work issues:
  acknowledge bug.                               |       Commit:
         Branch:                                 |     Stopgaps:
   Dependencies:                                 |
-------------------------------------------------+-------------------------
Changes (by rws):

 * keywords:   => pynac
 * milestone:  sage-6.6 => sage-6.7
 * upstream:  N/A => Reported upstream. Developers acknowledge bug.


Old description:

> See [http://ask.sagemath.org/question/26374/evaluation-fail/ 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
> }}}

New description:

 See [http://ask.sagemath.org/question/26374/evaluation-fail/ 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

--

--
Ticket URL: <http://trac.sagemath.org/ticket/18088#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to