Skip to main content

Software Implementation of the IEEE 754R Decimal Floating-Point Arithmetic

  • Conference paper
Software and Data Technologies (ICSOFT 2006)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 10))

Included in the following conference series:

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].

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 109.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. IEEE Std. 754, IEEE Standard 754-1985 for Binary Floating-Point Arithmetic. IEEE (1985)

    Google Scholar 

  2. IEEE Std. 754R Draft. Draft of the Revised IEEE Standard 754-1985(2006), http://754r.ucbtest.org/drafts/754r.pdf

  3. Cowlishaw, M.: Decimal Floating-Point: Algorism for Computers. In: 16th IEEE Symposium on Computer Arithmetic (2003)

    Google Scholar 

  4. Erle, M., Schwarz, E., Schulte, M.: Decimal Multiplication with Efficient Partial Product Generation. In: 17th Symposium on Computer Arithmetic (2005)

    Google Scholar 

  5. Peter Tang, BID Format, IEEE 754R Draft (2005), http://754r.ucbtest.org/subcommittee/bid.pdf

  6. Grimm, J.: Decimal Floating-Point Extension for C via decNumber, IBM, GCC Summit. decNumber (2005), http://www.alphaworks.ibm.com/

  7. /tech/decnumber

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Joaquim Filipe Boris Shishkov Markus Helfert

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics