Abstract
The IEEE Standard 754-1985 for Binary Floating-Point Arithmetic [1] is being revised [2], and an important addition to the current text is the definition of decimal floating-point arithmetic [3]. This is aimed mainly to provide a robust, reliable framework for financial applications that are often subject to legal requirements concerning rounding and precision of the results in the areas of banking, telephone billing, tax calculation, currency conversion, insurance, or accounting in general. Using binary floating-point calculations to approximate decimal calculations has led in the past to the existence of numerous proprietary software packages, each with its own characteristics and capabilities. New algorithms are presented in this paper which were used for a generic implementation in software of the IEEE 754R decimal floating-point arithmetic, but may also be suitable for a hardware implementation. In the absence of hardware to perform IEEE 754R decimal floating-point operations, this new software package that will be fully compliant with the standard proposal should be an attractive option for various financial computations. The library presented in this paper uses the binary encoding method from [2] for decimal floating-point values. Preliminary performance results show one to two orders of magnitude improvement over a software package currently incorporated in GCC, which operates on values encoded using the decimal method from [2].
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
IEEE Std. 754, IEEE Standard 754-1985 for Binary Floating-Point Arithmetic. IEEE (1985)
IEEE Std. 754R Draft. Draft of the Revised IEEE Standard 754-1985(2006), http://754r.ucbtest.org/drafts/754r.pdf
Cowlishaw, M.: Decimal Floating-Point: Algorism for Computers. In: 16th IEEE Symposium on Computer Arithmetic (2003)
Erle, M., Schwarz, E., Schulte, M.: Decimal Multiplication with Efficient Partial Product Generation. In: 17th Symposium on Computer Arithmetic (2005)
Peter Tang, BID Format, IEEE 754R Draft (2005), http://754r.ucbtest.org/subcommittee/bid.pdf
Grimm, J.: Decimal Floating-Point Extension for C via decNumber, IBM, GCC Summit. decNumber (2005), http://www.alphaworks.ibm.com/
/tech/decnumber
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 2008 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Cornea, M., Anderson, C., Tsen, C. (2008). Software Implementation of the IEEE 754R Decimal Floating-Point Arithmetic. In: Filipe, J., Shishkov, B., Helfert, M. (eds) Software and Data Technologies. ICSOFT 2006. Communications in Computer and Information Science, vol 10. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-70621-2_9
Download citation
DOI: https://doi.org/10.1007/978-3-540-70621-2_9
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-70619-9
Online ISBN: 978-3-540-70621-2
eBook Packages: Computer ScienceComputer Science (R0)