Skip to main content

decNumber++

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

Date Posted: July 11, 2006

alphaworks tab navigation

1. Where can I find more information about decimal arithmetic?

Please see the general decimal FAQ.

2. What is the relationship of decNumber++ to the decNumber library?

The decNumber++ library adapts decNumber for convenient use in C++ programs. With decNumber++, C++ programmers can take advantage of the decimal arithmetic types provided by decNumber and can do so with conventional C++ syntax. In addition, decNumber++ integrates the decimal arithmetic types with the C++ Standard Library to support the following:

  • input and output of decimal numbers using the standard IOStreams library
  • the application of most <math.h> functions to decimal aguments
  • type_traits and numeric_limits.

3. What is the relationship of decNumber++ to recent work on decimal arithmetic within the ISO/ANSI C++ Standard Committee?

The decNumber++ library is a reference implementation of the interfaces specified in the following proposal: ISO/IEC TR 24733: C++ Decimal Floating-Point Arithmetic Extensions.

Trademarks




Related technologies