|
From: | Nir Krakauer |
Subject: | [Octave-bug-tracker] [bug #47800] gammainc(x, a, "upper") rounds down to zero if output is below eps |
Date: | Thu, 05 May 2016 20:14:04 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/601.4.4 (KHTML, like Gecko) Version/9.0.3 Safari/601.4.4 |
Follow-up Comment #10, bug #47800 (project octave): Hi Marco-- I added two more methods to your m-file to deal with positive a and x without overflow. Now all the tests pass, albeit at fractional tolerances of ~1000*eps. I also streamlined the processing of scaled* options. Based on our results so far, I think we should first implement gammainc as an m-file, since the available Fortran programs don't work for all cases and are difficult to debug. Once we have a working implementation, we can look at increasing efficiency by calling C++ or Fortran for some branches. (file #37083) _______________________________________________________ Additional Item Attachment: File name: newgammainc.m Size:5 KB _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?47800> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |