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

[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: kody law
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: Fri, 05 Nov 2010 20:12:38 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8

Follow-up Comment #2, bug #31512 (project octave):

Thanks a lot for your help!

This is a predicament.  I know that one machine is running a new(er) version
of SuSe, with (I think) a 32-bit kernel.  I will find out for sure.


FYI - another thing I noticed consistently with octave is that it can compute
the correct mod operation only with integers. For example, try

for pp=1:1e4
if mod(pp*.025,.1)==0
q=q+1;
end
end

pp/q


Now, see

for pp=1:1e4
if mod(pp*.25,1)==0
q=q+1;
end
end

pp/q


Thanks again,
Kody 

 

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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