"Mark Dickinson" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
On Apr 16, 4:19 pm, [EMAIL PROTECTED] wrote:
> how do i solve power(5,1.3)?
>
[...]
>
> also i found a link which states 0^0 isnt 1 even though every
> calculator ive tried says it is.
> it doesnt say what it is but i presume 0 then.
> but it seems the dude is wrong and it is 1?

Define a**b as 1 multiplied by a b times.  Then a**0 is clearly 1, 
regardless of a.

But some do disagree.

| decimal.InvalidOperation: 0 ** 0

I would think of this as a bug unless the standard Decimal follows demands 
this.

tjr



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to