• DocumentCode
    3053246
  • Title

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

  • Author

    Cornea, Marius ; Anderson, Cristina ; Harrison, John ; Tang, Ping Tak Peter ; Schneider, Eric ; Tsen, Charles

  • Author_Institution
    Intel Corp., Chandler
  • fYear
    2007
  • fDate
    25-27 June 2007
  • Firstpage
    29
  • Lastpage
    37
  • Abstract
    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 decimal 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.
  • Keywords
    binary codes; floating point arithmetic; software packages; IEEE 754R decimal floating-point arithmetic; binary encoding format; software implementation; software packages; Application software; Cornea; Encoding; Floating-point arithmetic; Hardware; Law; Legal factors; Robustness; Software packages; Software standards;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Arithmetic, 2007. ARITH '07. 18th IEEE Symposium on
  • Conference_Location
    Montepellier
  • ISSN
    1063-6889
  • Print_ISBN
    0-7695-2854-6
  • Type

    conf

  • DOI
    10.1109/ARITH.2007.7
  • Filename
    4272848