[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #42589] Inaccurate results with the colon oper
From: |
Julien Bect |
Subject: |
[Octave-bug-tracker] [bug #42589] Inaccurate results with the colon operator |
Date: |
Sat, 21 Jun 2014 21:15:15 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:26.0) Gecko/20100101 Firefox/26.0 |
Follow-up Comment #19, bug #42589 (project octave):
Rik,
I have to disagree with you : this is NOT a psychological issue, this is a
bug.
In double precision, 10, 0.1 and 1.0 are represented exactly and the result of
10 * 0.1 - 1 is 0, even in double precision arithmetic. So, I don't see why
"technically" we should be happy that the result of (9:10) * .1 - 1 is [-.1
1e-17]...
This is also a bug in the sense of Matlab-compatiblity: Matlab returns [-.1 0]
in this situation.
@++
Julien
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?42589>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #42589] Inaccurate results with the colon operator, (continued)
- [Octave-bug-tracker] [bug #42589] Inaccurate results with the colon operator, Rik, 2014/06/19
- [Octave-bug-tracker] [bug #42589] Inaccurate results with the colon operator, Julien Bect, 2014/06/19
- [Octave-bug-tracker] [bug #42589] Inaccurate results with the colon operator, John W. Eaton, 2014/06/20
- [Octave-bug-tracker] [bug #42589] Inaccurate results with the colon operator, Michael Godfrey, 2014/06/20
- [Octave-bug-tracker] [bug #42589] Inaccurate results with the colon operator, Rik, 2014/06/20
- [Octave-bug-tracker] [bug #42589] Inaccurate results with the colon operator, Julien Bect, 2014/06/21
- [Octave-bug-tracker] [bug #42589] Inaccurate results with the colon operator, Julien Bect, 2014/06/21
- [Octave-bug-tracker] [bug #42589] Inaccurate results with the colon operator, Michael Godfrey, 2014/06/21
- [Octave-bug-tracker] [bug #42589] Inaccurate results with the colon operator, Rik, 2014/06/21
- [Octave-bug-tracker] [bug #42589] Inaccurate results with the colon operator, Michael Godfrey, 2014/06/21
- [Octave-bug-tracker] [bug #42589] Inaccurate results with the colon operator,
Julien Bect <=
- [Octave-bug-tracker] [bug #42589] Inaccurate results with the colon operator, Rik, 2014/06/21
- [Octave-bug-tracker] [bug #42589] Inaccurate results with the colon operator, Julien Bect, 2014/06/22
- [Octave-bug-tracker] [bug #42589] Inaccurate results with the colon operator, Michael Godfrey, 2014/06/22
- [Octave-bug-tracker] [bug #42589] Inaccurate results with the colon operator, Rik, 2014/06/22
- [Octave-bug-tracker] [bug #42589] Inaccurate results with the colon operator, Michael Godfrey, 2014/06/22
- [Octave-bug-tracker] [bug #42589] Inaccurate results with the colon operator, Jordi Gutiérrez Hermoso, 2014/06/23
- [Octave-bug-tracker] [bug #42589] Inaccurate results with the colon operator, Julien Bect, 2014/06/24
- [Octave-bug-tracker] [bug #42589] Inaccurate results with the colon operator, Julien Bect, 2014/06/24
- [Octave-bug-tracker] [bug #42589] Inaccurate results with the colon operator, Rik, 2014/06/24
- [Octave-bug-tracker] [bug #42589] Inaccurate results with the colon operator, Michael Godfrey, 2014/06/24