A Software Implementation of the IEEE 754R Decimal Floating-Point Arithmetic Using the Binary Encoding Format

Marius Cornea, Cristina Anderson, John Harrison, Ping Tak Peter Tang, Eric Schneider, Charles Tsen
<span title="">2007</span> <i title="IEEE"> <a target="_blank" rel="noopener" href="https://fatcat.wiki/container/d664h6inirfq5of5i3psy3lrim" style="color: black;">Computer Arithmetic</a> </i> &nbsp;
The IEEE Standard 754-1985 for Binary Floating-Point Arithmetic [1] was revised [2] , and an important addition is the definition of decimal floating-point arithmetic. This is intended mainly to provide a robust, reliable framework for financial applications that are often subject to legal requirements concerning rounding and precision of the results, because the binary floating-point arithmetic may introduce small but unacceptable errors. Using binary floating-point calculations to emulate
more &raquo; ... mal calculations in order to correct this issue has led to the existence of numerous proprietary software packages, each with its own characteristics and capabilities. IEEE 754R decimal arithmetic should unify the ways decimal floating-point calculations are carried out on various platforms. New algorithms and properties are presented in this paper which are used in a software implementation of the IEEE 754R decimal floatingpoint arithmetic, with emphasis on using binary operations efficiently. The focus is on rounding techniques for decimal values stored in binary format, but algorithms for the more important or interesting operations of addition, multiplication, division, and conversions between binary and decimal floating-point formats are also outlined. Performance results are included for a wider range of operations, showing promise that our approach is viable for applications that require decimal floating-point calculations. 18th IEEE Symposium on Computer Arithmetic(ARITH'07) 0-7695-2854-6/07 $20.00
<span class="external-identifiers"> <a target="_blank" rel="external noopener noreferrer" href="https://doi.org/10.1109/arith.2007.7">doi:10.1109/arith.2007.7</a> <a target="_blank" rel="external noopener" href="https://dblp.org/rec/conf/arith/CorneaAHTST07.html">dblp:conf/arith/CorneaAHTST07</a> <a target="_blank" rel="external noopener" href="https://fatcat.wiki/release/6q6vu5f5bvdanpg7inwchogle4">fatcat:6q6vu5f5bvdanpg7inwchogle4</a> </span>
<a target="_blank" rel="noopener" href="https://web.archive.org/web/20161108002602/http://www.acsel-lab.com/arithmetic/arith18/papers/ARITH18_Cornea.pdf" title="fulltext PDF download" data-goatcounter-click="serp-fulltext" data-goatcounter-title="serp-fulltext"> <button class="ui simple right pointing dropdown compact black labeled icon button serp-button"> <i class="icon ia-icon"></i> Web Archive [PDF] <div class="menu fulltext-thumbnail"> <img src="https://blobs.fatcat.wiki/thumbnail/pdf/ff/12/ff1257b527e1607f9ccb807937f5b053b4ea8acc.180px.jpg" alt="fulltext thumbnail" loading="lazy"> </div> </button> </a> <a target="_blank" rel="external noopener noreferrer" href="https://doi.org/10.1109/arith.2007.7"> <button class="ui left aligned compact blue labeled icon button serp-button"> <i class="external alternate icon"></i> ieee.com </button> </a>