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

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

[Octave-bug-tracker] [bug #43313] Complex number relation operators (=,


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #43313] Complex number relation operators (=, <, >) yield two logical trues
Date: Sat, 04 Oct 2014 07:23:31 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15

Follow-up Comment #1, bug #43313 (project octave):

The arg()/carg() function of the C math library has a range of [-pi,pi], i.e.,
-pi inclusive.  Attached is a changeset that will map -pi to pi.  This appears
to fix complex(-1,0) > complex(-1,-0) case and sorting.

The change to the header file touches pretty much the whole tree, so before
compiling make sure there's agreement with the logic of the conditionals.

(file #32221)
    _______________________________________________________

Additional Item Attachment:

File name: octave-complex_operators-2014oct03.patch Size:1 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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