octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #31974] Interpreter fails to create complex nu


From: David Bateman
Subject: [Octave-bug-tracker] [bug #31974] Interpreter fails to create complex numbers with Inf complex parts
Date: Tue, 28 Dec 2010 20:29:42 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009091010 Iceweasel/3.0.14 (Debian-3.0.14-1)

Update of bug #31974 (project octave):

                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #1:

Just "Inf *i" is sufficient to show this behavior. However, I'm not sure this
is a bug. Read carefully what you've written and how Octave will treat it.
That is "1 + Inf*i". Octave will parse this as "(1) + (Inf * (i))". The "(i)"
equals "0 + i", which when multiplied by "Inf" has "Inf * 0" in the real part
and guess what "Inf * 0" is "NaN"

What does Matlab do in this case? I suspect it does the same as Octave. If it
does I propose to mark this bug as invalid.

D.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31974>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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