comp.lang.ada
 help / color / mirror / Atom feed
From: leov@gammawizard.com
Subject: Re: Erfc() function in ADA
Date: Wed, 3 Apr 2019 09:01:27 -0700 (PDT)
Date: 2019-04-03T09:01:27-07:00	[thread overview]
Message-ID: <f3accc56-bd72-4bf5-b77f-7de7828ed0e6@googlegroups.com> (raw)
In-Reply-To: <973f2c6a-87cd-4551-9edb-3b8a2f6541a2@googlegroups.com>

On Tuesday, April 2, 2019 at 6:39:59 AM UTC-4, gautier...@hotmail.com wrote:
> A few random remarks...
> 
> 1) For further references: there is now in Mathpaqs (rev. 153+) a separate Erf_function package.
> Since Phi_function.Phi uses Erf(x) anyway, it's better to have access to Erf directly.
> 
> 2) About the Numerical Recipies: be careful, some versions support only 7-8 digits (single precision), so numerical errors cumulate very quickly.
> 
> 3) Some good stuff can be found in the Alglib and Cephes libraries, in C, Fortran or Pascal
> 
> 4) Simple special functions (with one parameter) could well be in an official Ada.Numerics.Generic_Special_Functions (low maintenance effort for compiler vendors)
> 
> 5) Don't forget to check: https://www.adaic.org/ada-resources/tools-libraries/
> 
> 6) Perhaps the Alire system has some math packages ?

Thanks for enhancing the library. I just ported my code and the Phi function is working like a charm.


      reply	other threads:[~2019-04-03 16:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-01 16:28 Erfc() function in ADA leov
2019-04-01 17:01 ` gautier_niouzes
2019-04-01 17:05   ` leov
2019-04-01 23:35 ` Jerry
2019-04-02  8:07   ` Dmitry A. Kazakov
2019-04-07 23:01   ` Jerry
2019-04-02 10:39 ` gautier_niouzes
2019-04-03 16:01   ` leov [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox