Comparison between binary64 and decimal64 floating-point numbers - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2013

Comparison between binary64 and decimal64 floating-point numbers

Résumé

We introduce an algorithm that allows one to quickly compare a binary64 floating-point (FP) number and a decimal64 FP number, assuming the "binary encoding" of the decimal formats specified by the IEEE 754-2008 standard for FP arithmetic is used. It is a two-step algorithm: a first pass, based on the exponents only, makes it possible to quickly eliminate most cases, then when the first pass does not suffice, a more accurate second pass is required. We provide an implementation of several variants of our algorithm, and compare them.

Domaines

Autre [cs.OH]
Fichier principal
Vignette du fichier
Compar-Hal-Version.pdf (143.12 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

ensl-00737881 , version 1 (03-10-2012)
ensl-00737881 , version 2 (07-02-2013)
ensl-00737881 , version 3 (11-02-2013)
ensl-00737881 , version 4 (11-02-2013)

Identifiants

  • HAL Id : ensl-00737881 , version 1

Citer

Nicolas Brisebarre, Marc Mezzarobba, Jean-Michel Muller, Christoph Lauter. Comparison between binary64 and decimal64 floating-point numbers. 21st IEEE Symposium on Computer Arithmetic, Apr 2013, Austin, TX, United States. pp.8. ⟨ensl-00737881v1⟩
1063 Consultations
1042 Téléchargements

Partager

Gmail Facebook X LinkedIn More