Comparison between binary64 and decimal64 floating-point numbers - ENS de Lyon - École normale supérieure de Lyon
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.
Fichier principal
Vignette du fichier
Compar-Arith.pdf (283.93 Ko) Télécharger le fichier
compbindec-1.0.tar.xz (7.05 Mo) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)
Format Autre

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

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.145-152, ⟨10.1109/ARITH.2013.23⟩. ⟨ensl-00737881v4⟩
1240 Consultations
1145 Téléchargements

Altmetric

Partager

More