Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » sci.math.* » sci.math

Topic: Could 0^0=0? Maybe!
Replies: 10   Last Post: Sep 27, 2013 7:54 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Richard Tobin

Posts: 1,395
Registered: 12/6/04
Re: Could 0^0=0? Maybe!
Posted: Sep 26, 2013 5:10 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

In article <b63a9e66-57b3-45f7-a1b6-5adcd9700978@googlegroups.com>,
Dan Christensen <Dan_Christensen@sympatico.ca> wrote:

>Many designers of programming languages assume that 0^0=1.

Do you have any evidence that they "assume" this, rather than
investigating it and making a reasoned decision?

Designers of current programming languages may follow IEEE 754, which
defines three power functions. pown(x,y) is defined for integral exponents
only, and has pown(0,0) = 1, which avoids many special cases. powr(x,y)
is defined as exp(y log(x)) so naturally has powr(0,0) raise an
exception. The generic pow(x,y) has pow(0,0) = 1.

-- Richard

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2015. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.