arrow
Return

Comparison between Binary and Decimal Floating-Point Numbers

delete2016-07-01
delete6
delete
OA
AI
N
Nicolas Brisebarre *
C
Christoph Lauter
M
Marc Mezzarobba
J
Jean‐Michel Muller
DOI:10.1109/TC.2015.2479602delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
We introduce an algorithm to compare a binary floating-point (FP) number and a decimal FP number, assuming the binary encoding of the decimal formats is used, and with a special emphasis on the basic interchange formats specified by the IEEE 754-2008 standard for FP arithmetic. It is a two-step algorithm: a first pass, based on the exponents only, quickly eliminates most cases, then, when the first pass does not suffice, a more accurate second pass is performed. We provide an implementation of several variants of our algorithm, and compare them.
Keywords:
Floating-point arithmetic
comparisons
radix-10 arithmetic
binary arithmetic
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

IEEE Transactions on Computers cover
IEEE Transactions on Computers
IF:
3.8
Papers:
5.3K
Citations:
9.8K

Organization

C
centre national de la recherche scientifique (cnrs)
Scholars:
24.5W
Papers: 18.2W
Citations: 279
E
ecole normale superieure de lyon (ens de lyon)
Scholars:
5.1K
Papers: 3.6K
Citations: 6