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

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

[Octave-bug-tracker] [bug #53612] gammainc fails one test with "upper" f


From: Rik
Subject: [Octave-bug-tracker] [bug #53612] gammainc fails one test with "upper" flag and complex input
Date: Wed, 11 Apr 2018 14:22:55 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

URL:
  <http://savannah.gnu.org/bugs/?53612>

                 Summary: gammainc fails one test with "upper" flag and
complex input
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Wed 11 Apr 2018 11:22:53 AM PDT
                Category: Test Suite
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Inaccurate Result
                  Status: Confirmed
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.3.90
        Operating System: Any

    _______________________________________________________

Details:

The following test is failing


%! assert (gammainc (-20, 1.1, "upper"), ...
%!         6.50986687074979e8 + 2.11518396291149e8*i, -1e-13);


On my system, the result is


***** xtest
 assert (gammainc (-20, 1.1, "upper"), ...
         6.50986687074979e8 + 2.11518396291149e8*i, -1e-13);
!!!!! known failure
ASSERT errors for:  assert (gammainc (-20, 1.1, "upper"),6.50986687074979e8 +
2.11518396291149e8 * i,-1e-13)

  Location  |  Observed  |  Expected  |  Reason
     ()      650986687.1916+211518396.654i 650986687.075+211518396.2911i   Rel
err 5.5676e-10 exceeds tol 1e-13 by 6e-10


I don't know if the tolerance should be relaxed, or the algorithm within
gammainc should be improved.






    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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