Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Nov 2013 10:30:11 -0700
From:      Steve Kargl <>
To:        Bruce Evans <>
Cc:        "" <>, David Chisnall <>
Subject:   Re: MUSL math functions
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Fri, Nov 01, 2013 at 07:52:27AM +1100, Bruce Evans wrote:
> On Thu, 31 Oct 2013, Steve Kargl wrote:
>> On Thu, Oct 31, 2013 at 10:46:15AM +0000, David Chisnall wrote:
>>> erfcl, erfl
>> I have code for erfcl and erfl.
> cerfl (not in C99) is apparently amazingly complicated.  There is a
> whole library libcerf for it on the net.

openlibm includes
I haven't looked into the quality.  The webpage claims 13 significant
digits, which is not quite good enough for double.

> erf support is very patchy in calculators.  See the list in the NIST
> web pages that update Abramowicz and Stegun.  I find it hard to test
> since it is not in pari.

MPFR has implementations for erf and erfc.  Testing on flame is
extremely slow due to this.  I think that I've only tested
around 50000 values in the non-asymptotic range.


Want to link to this message? Use this URL: <>