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

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

[Octave-bug-tracker] [bug #45507] acos returns different results on big


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #45507] acos returns different results on big input values
Date: Sat, 28 May 2016 07:35:57 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #25, bug #45507 (project octave):

Mike, with gcc 4.8.2 and your patch (updated to reflect the addition of octave
namespace -- see attached), Marco's test from comment #3 gives


acos
ans =
    0.000 + 19.114i    1.571 +    Infi
ans =
    3.142 - 19.114i    1.571 +    Infi
ans =
    1.571 - 19.114i    1.571 -    Infi
ans =
    1.571 + 19.114i    1.571 + 19.114i
ans =
    0.785 - 19.460i    1.571 -    Infi
ans =
    0.785 + 19.460i    0.785 + 19.460i
ans =
    2.356 - 19.460i    1.571 -    Infi
ans =
    2.356 + 19.460i    2.356 + 19.460i


(file #37293)
    _______________________________________________________

Additional Item Attachment:

File name: bug_45507.v4.patch             Size:3 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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