|
| From: | Julien Bect |
| Subject: | [Octave-bug-tracker] [bug #42589] Inaccurate results with the colon operator |
| Date: | Sun, 22 Jun 2014 13:17:02 +0000 |
| User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:26.0) Gecko/20100101 Firefox/26.0 |
Follow-up Comment #21, bug #42589 (project octave):
@Rik : We'll to agree to disagree, then. (We're not talking about any
double-precision numerical computation, we're talking about 10 * 0.1 - 1. I
don't know how to say it otherwise: 10 * 0.1 - 1 == 1e-17 is FALSE in
double-precision arithmetic. And I don't think that I have a psychological
problem when I expect that Octave should return exactly [-.1 0] for (9:10) *
.1 - 1.)
@JWE: Please consider adding the regression test provided below.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?42589>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |