[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: |
Thu, 24 Mar 2011 12:52:48 +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 |
Follow-up Comment #6, bug #32885 (project octave):
> So as I see it, this is a corner case, but my patch seems to work on major
compilers.
e.g. icc ?
> We could introduce the "right" patch that explicitly checks for
> NaN, at the risk of introducing some inefficiency... or we could use this
> patch which is likely to work for a long time on all major compilers.
I hope, we should do the first option. Moreover, this fix doesn't solve
>> norm([0,NaN],inf)
ans = 0
I think we shouldn't clone stupid things that do Matlab.
_______________________________________________________
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, 2011/03/22
- [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 <=