[Top][All Lists]

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

[Octave-bug-tracker] [bug #32885] norm(NaN,Inf) produce 0

From: Sergey B Kirpichev
Subject: [Octave-bug-tracker] [bug #32885] norm(NaN,Inf) produce 0
Date: Tue, 22 Mar 2011 21:33:09 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; ru-ru) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Debian/squeeze (2.30.6-1) Epiphany/2.30.6


                 Summary: norm(NaN,Inf) produce 0
                 Project: GNU Octave
            Submitted by: skirpichev
            Submitted on: Втр 22 Мар 2011 21:33:09
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.4.0
        Operating System: GNU/Linux



>> norm(1,inf)
ans =  1
>> norm(NaN(2),Inf)
ans = NaN
>> norm(NaN,Inf) % or norm(NaN(1),Inf)
ans = 0

I think, the last result should be NaN.  (Same holds for OPT=-Inf.)


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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