The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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,436
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 <>,
Dan Christensen <> 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]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.