IBM®
Skip to main content
    United States change      Terms of use
 
 
Select a scope:    
     Home      Products      Services & industry solutions      Support & downloads      My account     
alphaWorks  >  Systems management  >  

decNumber++

A high-performance decimal arithmetic library for C++.


Date Posted: July 11, 2006
OverviewRequirements Download FAQs Forum Reviews

What is decNumber++?

decNumber++ is a high-performance decimal arithmetic library in ISO C++ that is especially suitable for commercial and human-oriented applications. The library is a reference implementation of interfaces specified in a forthcoming ISO Technical Report on decimal arithmetic types in C++: "ISO/IEC TR 24733: C++ Decimal Floating-Point Arithmetic Extensions." In addition, the library conforms to the "Draft Standard for Floating-Point Arithmetic IEEE-P754."

This technology permits the use of decimal floating-point types in C++. Decimal floating-point arithmetic allows performance-critical business applications to conduct monetary calculations accurately and swiftly.

How does it work?

decNumber++ is based on decNumber technology. The decNumber++ library supports the following:
  • 32-, 64-, and 128-bit decimal floating-point formats
  • conversions to and from all C++ arithmetic types
  • arithmetic operators for the decimal types
  • C++ TR1 floating-point environment, including rounding modes and floating-point exceptions
  • input and output of decimal values using IOStreams.


About the technology author(s):
Robert Klarer has been involved in the development of IBM's C++ compilers since 1993. He has been a member of the ISO and ANSI C++ Standard Committees since 1997. Mr. Klarer is the ISO Project Editor for "ISO/IEC TR 24733: C++ decimal floating point arithmetic extensions."

Download now Download now

Related technologies

For platform(s):
Multi-Platform

For topics:
Commerce, performance, I/O (Input/output), Reference implementation


 

    About IBM Privacy Contact