[Top][All Lists]

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

[Octave-bug-tracker] [bug #43741] different results from power operator

From: Mike Miller
Subject: [Octave-bug-tracker] [bug #43741] different results from power operator in mxe-octave GUI/CLI
Date: Thu, 05 Feb 2015 05:09:43 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.91 Safari/537.36

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

Another example from the mailing list that might be related, showing floating
point differences when Octave is run with and without Qt libs:

format long
N=1e4; s=0; for i=1:N s+=(mean(ones(i,1)*.9)-.9); endfor; s

In console mode with --no-gui-libs, the answer is  -4.48086012738713e-013, in
the GUI the answer is  -3.15685588780923e-010.

For comparison, on Linux only the larger of these two is returned in Octave
with or without Qt.



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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