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: Thu, 30 Dec 2010 11:37: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)

Follow-up Comment #10, bug #31974 (project octave):

Frankly, what the hell was mathworks thinking when they implemented this
exception to IEEE754..... What a mess..

Does this behavior also hold for matrices or is it particular to scalars?
What about sparse matrices? or even scalars stored in sparse matrices? What
does

Inf(2,2) * j
Inf(2,2) .* j
Inf * j(2,2)
Inf(2,2) .* j(2,2)
Inf * sparse(j(2,2))
Inf * sparse(1)

give in matllab? If the same behavior holds for matrices, then we are going
to take a serious performance hit to special case the imaginary by infinity or
NaN case.

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]