Re: [sage-devel] Calculation Error

2017-08-28 Thread kcrisman
On Saturday, August 26, 2017 at 4:57:25 PM UTC-4, Dr. David Kirkby (Kirkby Microwave Ltd) wrote: > > On 26 August 2017 at 01:40, David Roe > > wrote: > >> This is not a bug. If you look at the documentation for Integer.__pow__, >> you'll see "For consistency with Python and MPFR, 0^0 is defin

Re: [sage-devel] Calculation Error

2017-08-28 Thread Daniel Krenn
On 2017-08-26 02:40, David Roe wrote: > This is not a bug. If you look at the documentation for > Integer.__pow__, you'll see "For consistency with Python and MPFR, 0^0 > is defined to be 1 in Sage." To avoid such a discussion in future: https://trac.sagemath.org/ticket/23735 (with the link fro

Re: [sage-devel] Calculation Error

2017-08-28 Thread parisse
>From a symbolic (calculus) point of view, 0^0 should return undef. Otherwise you can not do a first quick substitution if you are computing limits. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receivin

Re: [sage-devel] Calculation Error

2017-08-27 Thread Vincent Delecroix
0^0 is perfectly defined (and not by a convention)! a^b with both a and b non-negative integers is the cardinality of the functions B -> A where A and B have respectively cardinalities a and b. Note that this set is sometimes denoted A^B. The question then becomes how many functions there are f

Re: [sage-devel] Calculation Error

2017-08-26 Thread 'Julien Puydt' via sage-devel
Hi, Le 26/08/2017 à 22:57, Dr. David Kirkby (Kirkby Microwave Ltd) a écrit : > I'm not a mathematician, but believe 0^0 is undefined. You can either consider 0^0 to be undefined or that it is 1 by convention : both are "correct", and neither should be considered a bug. Snark on #debian-science

Re: [sage-devel] Calculation Error

2017-08-26 Thread Dr. David Kirkby (Kirkby Microwave Ltd)
On 26 August 2017 at 01:40, David Roe wrote: > This is not a bug. If you look at the documentation for Integer.__pow__, > you'll see "For consistency with Python and MPFR, 0^0 is defined to be 1 in > Sage." > David > I'm not a mathematician, but believe 0^0 is undefined. Sagemath being consiste

Re: [sage-devel] Calculation Error

2017-08-25 Thread David Roe
This is not a bug. If you look at the documentation for Integer.__pow__, you'll see "For consistency with Python and MPFR, 0^0 is defined to be 1 in Sage." David On Fri, Aug 25, 2017 at 3:35 PM, wrote: > I followed the link of Sagecell website , > I typed the fol