help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A thing about exponentials.


From: Jordi Gutierrez Hermoso
Subject: A thing about exponentials.
Date: Sat, 31 Dec 2005 16:46:14 -0700

Apologies if this is a FAQ, but I couldn't find it in the FAQ, and I
tried a few searches in the mailing list archive to no avail.

In Octave 0^(1+i) is 0 and 0^i is NaN. They're both NaN in Matlab.

I can understand the NaN... probably from a call to log(0) somewhere.
But why isn't 0^(1+i) also NaN in Octave? What is Octave doing to
avoid that call to log(0)?

Thanks!
- JGH



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]