Loading [MathJax]/extensions/MathMenu.js
Comparison between Binary and Decimal Floating-Point Numbers | IEEE Journals & Magazine | IEEE Xplore

Comparison between Binary and Decimal Floating-Point Numbers


Abstract:

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 ...Show More

Abstract:

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.
Published in: IEEE Transactions on Computers ( Volume: 65, Issue: 7, 01 July 2016)
Page(s): 2032 - 2044
Date of Publication: 17 September 2015

ISSN Information:

Funding Agency:


Contact IEEE to Subscribe

References

References is not available for this document.