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

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

[Octave-bug-tracker] [bug #42071] complex trig functions differ from Mat


From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #42071] complex trig functions differ from Matlab
Date: Tue, 08 Apr 2014 18:13:56 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0

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

I think that you are missing something:

Actually, I used format hex to look at the actual
data. The results are not "the same."  This includes
sign differences (Octave having the wrong
sign) which for algorithms which assume
the correct sign can lead to such things as
infinite loops in code that would, with correct values,
converge.

I doubt if this is as simple as "just using the underlying
C math," It is a bit suspicious that it appears to be
the case that only complex arguments are badly wrong.

So, if you do not think this matters to you, OK.

I will have to make a lot of changes to code to work
around these errors.

And, of course, these differences will need to be documented
in the Manual under Matlab incompatibilities.

Again, I would rather that some serious study go into this.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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