comp.lang.ada
 help / color / mirror / Atom feed
From: gautier_niouzes@hotmail.com
Subject: Re: Erfc() function in ADA
Date: Tue, 2 Apr 2019 03:39:57 -0700 (PDT)
Date: 2019-04-02T03:39:57-07:00	[thread overview]
Message-ID: <973f2c6a-87cd-4551-9edb-3b8a2f6541a2@googlegroups.com> (raw)
In-Reply-To: <b9dad693-6cb1-4650-90a8-9581dffdcdc2@googlegroups.com>

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 ?

  parent reply	other threads:[~2019-04-02 10:39 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 [this message]
2019-04-03 16:01   ` leov
replies disabled

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