From help-request at octave dot org Sat Dec 31 17:48:14 2005 Subject: A thing about exponentials. From: Jordi Gutierrez Hermoso To: help at octave dot org 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 -------------------------------------------------------------