octave-maintainers
[Top][All Lists]
Advanced

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

Re: betainc and other special functions in Octave


From: Michael D Godfrey
Subject: Re: betainc and other special functions in Octave
Date: Sat, 10 Jun 2017 09:47:18 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0



On 06/10/2017 02:42 AM, Rik wrote:
Is there a special functions Summer of Code project this year?  I thought I
saw some e-mails on the list about that.

I'd like to point out bug #51157 (https://savannah.gnu.org/bugs/?51157)
where the betainc calculations are inaccurate for some values.  I did some
tracing and it comes down to the Fortran routines from Slatec that are
used.  They were last updated in 1992, and apparently are not accurate out
to the 15th or 16th digit of precision.

As a quick test, I wrote a C program that uses the GNU Scientific Library
to calculate betainc and it does get the more precise answer.  The GSL
might be a way to quickly get access to other high quality special function
code.

Just a thought,
Rik

It would be good to include bug #44310 with this.

Michael



reply via email to

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