CADNA C: a version of CADNA for use with C or C++ programs
Jean-Luc Lamotte
1, Jean-Marie Chesneaux, Fabienne J´ ez´ equel
UPMC Univ. Paris 06 UMR 7606
Laboratoire d’Informatique de Paris 6 4 place Jussieu, F-75005 Paris, France
{Jean-Luc.Lamotte, Jean-Marie.Chesneaux, Fabienne.Jezequel}@lip6.fr
Abstract
The CADNA library enables one to estimate round-off error propagation using a probabilistic approach. The CADNA C version enables this estimation in C or C++
programs, while the previous version had been developed for Fortran programs.
The CADNA C version has the same features as the previous one: with CADNA the numerical quality of any simulation program can be controlled. Furthermore by detecting all the instabilities which may occur at run time, a numerical debugging of the user code can be performed. CADNA provides new numerical types on which round-off errors can be estimated. Slight modifications are required to control a code with CADNA, mainly changes in variable declarations, input and output.
PACS: 02.70.-c
Key words: CADNA; CESTAC method; Discrete Stochastic Arithmetic;
floating-point arithmetic; numerical validation; round-off errors.
NEW VERSION PROGRAM SUMMARY
Manuscript Title:CADNA C: a version of CADNA for use with C or C++ programs Authors: Jean-Luc Lamotte, Jean-Marie Chesneaux, Fabienne J´ ez´ equel
Program Title: CADNA C Journal Reference:
Catalogue identifier:
Licensing provisions: none Programming language: C++
Computer: PC running LINUX with an i686 or an ia64 processor, UNIX worksta- tions including SUN, IBM.
1
Corresponding author
Preprint submitted to Elsevier Science 28 June 2010