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

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

[Octave-bug-tracker] [bug #42627] rem() treats inaccuracy differently fr


From: Olaf Till
Subject: [Octave-bug-tracker] [bug #42627] rem() treats inaccuracy differently from Matlab
Date: Fri, 27 Jun 2014 10:22:27 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20140610 Firefox/24.0 Iceweasel/24.6.0

Follow-up Comment #3, bug #42627 (project octave):

See attached changeset.

We both had overlooked it --- if q=x/y is assumed to be an integer, there is
no need still to do further calculations with it, but zero can be returned
immediately.

I still don't understand why the case that y is an integer is dealt separately
from this, but it seems to work.


(file #31627)
    _______________________________________________________

Additional Item Attachment:

File name: xmod-xrem.changeset            Size:2 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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