[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 |
URL:
<http://savannah.gnu.org/bugs/?32885>
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
_______________________________________________________
Details:
>> 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:
<http://savannah.gnu.org/bugs/?32885>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #32885] norm(NaN,Inf) produce 0,
Sergey B Kirpichev <=
- [Octave-bug-tracker] [bug #32885] norm(NaN,Inf) produce 0, Jordi Gutiérrez Hermoso, 2011/03/23
- [Octave-bug-tracker] [bug #32885] norm(NaN,Inf) produce 0, Marco Caliari, 2011/03/23
- [Octave-bug-tracker] [bug #32885] norm(NaN,Inf) produce 0, Sergey B Kirpichev, 2011/03/23
- [Octave-bug-tracker] [bug #32885] norm(NaN,Inf) produce 0, Jordi Gutiérrez Hermoso, 2011/03/24
- [Octave-bug-tracker] [bug #32885] norm(NaN,Inf) produce 0, Marco Caliari, 2011/03/24
- [Octave-bug-tracker] [bug #32885] norm(NaN,Inf) produce 0, Sergey B Kirpichev, 2011/03/24