forum-msg-id-129008-edit

Original date:2015-11-03 05:58:57 Edited by: ghaberek Subject: Re: power(0,0)

Talking about C99:

I was surprised to see the complex version of 0, in C and C yielded one result in this expression where as the real version of 0, in C and C yielded a distinct value.

Take power((0,0i),(0,0i)) and you get (nan, nan i) but take power(0,0) and you get 1.

Even among software languages for Mathematicians, 00 is 1 with the exception of Mathematica where you get Indeterminate.

It seems reasonable to me for power(0,0) to return 1, in a language like EUPHORIA.

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu