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

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

[Octave-bug-tracker] [bug #54550] inaccurate result of gammainc


From: Michele Ginesi
Subject: [Octave-bug-tracker] [bug #54550] inaccurate result of gammainc
Date: Mon, 27 Aug 2018 02:51:28 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Follow-up Comment #3, bug #54550 (project octave):

Actually, the modification done by Marco solves also another problem: now it
gives 

octave-default:1> gammainc(1000,2)
ans = 0

with the modification

octave-cli:1> gammainc(1000,2)
ans =  1

which is correct... I don't remember why I put a < 5 in the first place, I
think it is actually a refuse from some test I did during GSoC...

I attach a modified version of the .diff of Marco, which add some tests for
these values and fixes a comment.



(file #44874)
    _______________________________________________________

Additional Item Attachment:

File name: gammainc.diff                  Size:1 KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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