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

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

[Octave-bug-tracker] [bug #36211] bug: crashes and endless loops


From: anonymous
Subject: [Octave-bug-tracker] [bug #36211] bug: crashes and endless loops
Date: Thu, 19 Apr 2012 12:43:23 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120312 Firefox/11.0 SeaMonkey/2.8 Lightning/1.3

Follow-up Comment #6, bug #36211 (project octave):

I'm not sure. Throwing an error seems appropriate to me.
I took a look at what others do:

Scilab 5.3.3:
Scilab refuses to calculate with NaN and Inf.


-->A=[1234,%inf];b=[5];Ab;
                        !--error 229
Operands of / and  operations must not contain NaN or Inf.


MATLAB R2012a:
does not throw an error, only displays a warning (but it's somewhat
inconsistent: sometimes it doesn't even display a warning).


>> A=[1234,inf];b=[5];Ab
Warning: Rank deficient, rank = 0, tol =  1.#INF00e+00.

ans =

     0
     0


>> A=[1234,nan];b=[5];Ab
Warning: Rank deficient, rank = 0, tol = NaN.

ans =

     0
     0

>> A=[nan,1234];b=[5];Ab

ans =

         0
    0.0041



Ok ... so, it's for you octave maintainers to decide... (I'm out of here ...
after all, I just wanted to report that crash on my windows box, but soon
found myself reading fortran sources ;) )
regards
Stefan Reiser

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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