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

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

[Octave-bug-tracker] [bug #50947] angle of -0-0i should be 0


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #50947] angle of -0-0i should be 0
Date: Thu, 4 May 2017 12:20:27 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Update of bug #50947 (project octave):

              Item Group:    Matlab Compatibility => None                   
                 Summary: angle of -0-0i should be 0 for Matlab compatibility
=> angle of -0-0i should be 0

    _______________________________________________________

Follow-up Comment #3:

Also, with the attached MEX file myatan2.c, please try the following with
Matlab and report back what it displays:


myatan2 (0, 0)
myatan2 (-0, 0)
myatan2 (0, -0)
myatan2 (-0, -0)

atan2 (0, 0)
atan2 (-0, 0)
atan2 (0, -0)
atan2 (-0, -0)



(file #40581)
    _______________________________________________________

Additional Item Attachment:

File name: myatan2.c                      Size:0 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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