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

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

[Octave-bug-tracker] [bug #53543] regression: new gammainc inaccurate fo


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #53543] regression: new gammainc inaccurate for small real inputs
Date: Sun, 1 Apr 2018 15:30:48 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0

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

I saw a case in gammainc.m:


  elseif (strcmp (tail, "scaledlower"))
    if (abs (x) < 1/2)
      y = expm1 (x) ./ x;
    else
      y = (exp (x) - 1) ./ x;
    endif


But there is no equivalent for the case a few lines above


  if (strcmp (tail, "lower"))
    y = 1 - exp (-x);


which is the case that this bug report is about.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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