[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #31512] Problem with code on Linux octave 3.2.
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #31512] Problem with code on Linux octave 3.2.3 and 3.2.4/// OK on mac w/ 3.2.3 |
Date: |
Sat, 06 Nov 2010 15:01:42 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101028 Iceweasel/3.5.15 (like Firefox/3.5.15) |
Follow-up Comment #9, bug #31512 (project octave):
Rik wrote: "If Matlab is playing tricks with the divisor it would be very
interesting to know that."
The current Matlab documentation for rem and mod says that it uses something
like
x - y * floor (x / y) (for rem, replace floor with fix)
and that
"If Y is not an integer and the quotient X./Y is within roundoff error of an
integer, then n is that integer."
So yes, I guess they are doing some tricks. I'm not sure that is really the
best thing to do. I mean, maybe the correct result is actually not an
integer. So why perform the rounding ? How can you know when that is
appropriate?result an integer. But maybe for compatibility, we will have to
do the same. Otherwise, I'm sure that we will just see complaints about the
difference.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31512>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #31512] Problem with code on Linux octave 3.2.3 and 3.2.4/// OK on mac w/ 3.2.3, anonymous, 2010/11/01
- [Octave-bug-tracker] [bug #31512] Problem with code on Linux octave 3.2.3 and 3.2.4/// OK on mac w/ 3.2.3, Rik, 2010/11/02
- [Octave-bug-tracker] [bug #31512] Problem with code on Linux octave 3.2.3 and 3.2.4/// OK on mac w/ 3.2.3, kody law, 2010/11/05
- [Octave-bug-tracker] [bug #31512] Problem with code on Linux octave 3.2.3 and 3.2.4/// OK on mac w/ 3.2.3, John W. Eaton, 2010/11/05
- [Octave-bug-tracker] [bug #31512] Problem with code on Linux octave 3.2.3 and 3.2.4/// OK on mac w/ 3.2.3, kody law, 2010/11/05
- [Octave-bug-tracker] [bug #31512] Problem with code on Linux octave 3.2.3 and 3.2.4/// OK on mac w/ 3.2.3, Rik, 2010/11/05
- [Octave-bug-tracker] [bug #31512] Problem with code on Linux octave 3.2.3 and 3.2.4/// OK on mac w/ 3.2.3, kody law, 2010/11/06
- [Octave-bug-tracker] [bug #31512] Problem with code on Linux octave 3.2.3 and 3.2.4/// OK on mac w/ 3.2.3, kody law, 2010/11/06
- [Octave-bug-tracker] [bug #31512] Problem with code on Linux octave 3.2.3 and 3.2.4/// OK on mac w/ 3.2.3, John W. Eaton, 2010/11/06
- [Octave-bug-tracker] [bug #31512] Problem with code on Linux octave 3.2.3 and 3.2.4/// OK on mac w/ 3.2.3,
John W. Eaton <=
- [Octave-bug-tracker] [bug #31512] Problem with code on Linux octave 3.2.3 and 3.2.4/// OK on mac w/ 3.2.3, kody law, 2010/11/07
- [Octave-bug-tracker] [bug #31512] Problem with code on Linux octave 3.2.3 and 3.2.4/// OK on mac w/ 3.2.3, John W. Eaton, 2010/11/07
- [Octave-bug-tracker] [bug #31512] Problem with code on Linux octave 3.2.3 and 3.2.4/// OK on mac w/ 3.2.3, Rik, 2010/11/07
- [Octave-bug-tracker] [bug #31512] Problem with code on Linux octave 3.2.3 and 3.2.4/// OK on mac w/ 3.2.3, John W. Eaton, 2010/11/09
- [Octave-bug-tracker] [bug #31512] Problem with code on Linux octave 3.2.3 and 3.2.4/// OK on mac w/ 3.2.3, kody law, 2010/11/13
- [Octave-bug-tracker] [bug #31512] Problem with code on Linux octave 3.2.3 and 3.2.4/// OK on mac w/ 3.2.3, Rik, 2010/11/18
- [Octave-bug-tracker] [bug #31512] Problem with code on Linux octave 3.2.3 and 3.2.4/// OK on mac w/ 3.2.3, kody law, 2010/11/19
- [Octave-bug-tracker] [bug #31512] Problem with code on Linux octave 3.2.3 and 3.2.4/// OK on mac w/ 3.2.3, kody law, 2010/11/19