Tim Peters added the comment:

This is easy:  Cowlishaw is wrong on this one, but nothing can be done about it 
;-)

Confusion arises because most people think of 0**0 as a value (where it 
certainly must be 1) while others seem to view it as some kind of shorthand for 
expressing a limit (as the base and/or exponent _approach_ 0, in which case 
there is no correct answer - it's an "indeterminate form").

It's in the "spirit of 754" to take inputs at face value, viewing them as 
infinitely precise.  So viewing 0**0 as anything other than 1 in this context 
is perverse.

Centuries of history distilled to a few paragraphs here:

http://en.wikipedia.org/wiki/Exponentiation#Zero_to_the_power_of_zero

----------
nosy: +tim.peters

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23201>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to