The Discrete Stochastic Arithmetic DSA is a probabilistic approach for round-off error propagation. After a brief review of the CESTAC (Controle et Estimation Stochastique des Arrondis de Calculs) method, which is the basis of DSA, the concept of the “informatical zero”, also called “computational zero”, is defined. The stochastic order relations of the DSA are presented. The DSA is the joint use of the synchronous implementation of the CESTAC method and the stochastic order relations. After having summarized the asynchronous implementation of the CESTAC method, which has been used in the Prosolver software, and which has been legitimately criticized, the synchronous implementation is presented. Then the CADNA (Control of Accuracy and Debugging for Numerical Application) library which implements the DSA arithmetic is presented. It is shown that this library is able to dynamically control the validity of the hypotheses which must hold so that results provided by CESTAC method are reliable. If the hypotheses do not hold then warnings are printed in a special file. The user is informed that numerical anomalies have been detected. Depending on these warnings the user may conclude either that the results obtained are not reliable and that they cannot be correctly computed with this computer, or he may try to debug his code. It is shown that the numerical examples that support the criticisms and which make the Prosolver software fail, do not jeopardize the CADNA library.
[1]
Jean Vignes,et al.
A stochastic arithmetic for reliable scientific computation
,
1993
.
[2]
William Kahan,et al.
The improbability of probabilistic error analyses for numerical computations
,
1996
.
[3]
Jean-Michel Muller,et al.
Qualité des calculs sur ordinateur
,
1997
.
[4]
J. Vignes,et al.
Error Analysis in Computing
,
1974,
IFIP Congress.
[5]
J.-M. Chesneaux.
Modélisation et conditions de validité de la méthode CESTAC
,
1988
.
[6]
Douglas Stott Parker,et al.
Monte Carlo arithmetic: how to gamble with floating point and win
,
2000,
Comput. Sci. Eng..
[7]
J. Vignes,et al.
Zéro mathématique et zéro informatique
,
1986
.
[8]
J.-M. Chesneaux,et al.
Les fondements de l'arithmétique stochastique
,
1992
.
[9]
D. Stott Parker,et al.
Monte Carlo Arithmetic: exploiting randomness in floating-point arithmetic
,
1997
.
[10]
J. Vignes.
New methods for evaluating the validity of the results of mathematical computations
,
1978
.
[11]
Jean Marie Chesneaux.
The equality relations in scientific computing
,
2005,
Numerical Algorithms.