|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #31974] Interpreter fails to create complex numbers with Inf complex parts |
Date: | Wed, 29 Dec 2010 19:21:36 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101206 Ubuntu/9.10 (karmic) Firefox/3.6.13 |
Follow-up Comment #4, bug #31974 (project octave): So Matlab seems to have a special case for Inf*[complex unit]. One additional test is to see whether Matlab behaves correctly for XXX*[complex unit] where XXX is any value or whether 'Inf' is actually special. My guess is that the parser does something like this. XXX*j is translated to function call complex (0, XXX) rather than translating to XXX * complex (0, 1) as Octave does. Final test case: NaN*j I think this will yield 0 + NaNi in Matlab _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?31974> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |