Towards Good C++ Interval Libraries: Tricks AND Traits - Université de Nantes Accéder directement au contenu
Pré-Publication, Document De Travail Année : 2000

Towards Good C++ Interval Libraries: Tricks AND Traits

Résumé

Despite its usefulness for overcoming floating-point arithmetic defects, manipulating imprecise data, and performing non-linear global optimization, interval arithmetic is not yet a first-class type in any computer language. Some attempts are underway for Fortran and Java, not for C++. However, some add-on C++ interval libraries already exist though they do not respect the C++ standard library spirit since they are not generic (one cannot choose the type for the interval bounds). The design and implementation of JAIL, a C++ templated library based on the ``traits'' C++ programming technique, are presented in this paper; parameterization is shown to enhance the reliability, the versatily, and the portability of the library across multiple platforms. The impact on efficiency of parameterization through templated classes and of some implementation tricks is also investigated.
Fichier principal
Vignette du fichier
goualard-ascm2000.pdf (179.07 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00430568 , version 1 (09-11-2009)

Identifiants

  • HAL Id : hal-00430568 , version 1

Citer

Frédéric Goualard. Towards Good C++ Interval Libraries: Tricks AND Traits. 2000. ⟨hal-00430568⟩
143 Consultations
164 Téléchargements

Partager

Gmail Facebook X LinkedIn More