octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #42589] Inaccurate results with the colon oper


From: Rik
Subject: [Octave-bug-tracker] [bug #42589] Inaccurate results with the colon operator
Date: Thu, 19 Jun 2014 19:54:02 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0

Update of bug #42589 (project octave):

                  Status:            Works For Me => Confirmed              

    _______________________________________________________

Follow-up Comment #8:

Actually, I was just able to reproduce this with


(9:10)*0.1 - 1
ans =

   -1.00000000000000e-01    2.77555756156289e-17


A range is a special octave_value type.  If I convert the range to an ordinary
matrix, then things work out.


full(9:10) * 0.1 - 1


This, at least, is a clue.  I'm really busy right now, though, and can't look
at this more.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42589>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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