pow(0,0) is 1 according to Knuth

David Hough uunet!Eng.Sun.COM!David.Hough
Mon Oct 21 18:44:08 PDT 1991


While browsing news.answers I found the following item.  Kahan has argued this
for many years, but this is the first I'd heard that Knuth agreed:

>    From Concrete Mathematics p.162 (R. Graham, D. Knuth, O. Patashnik):
>
>    "Some textbooks leave the quantity 0^0 undefined, because the
>    functions x^0 and 0^x have different limiting values when x 
>    decreases to 0. But this is a mistake. We must define
>
>       x^0 = 1 for all x,
>
>    if the binomial theorem is to be valid when x=0, y=0, and/or x=-y.
>    The theorem is too important to be arbitrarily restricted! By
>    contrast, the function 0^x is quite unimportant." 
>
>    Published by Addison-Wesley, 2nd printing Dec, 1988.



More information about the Numeric-interest mailing list