Intel® Decimal Floating-Point Math Library

By Marius A Cornea-Hasegan,

Published:10/27/2011   Last Updated:06/25/2018



Product Overview

Software implementation of the IEEE 754-2008 Decimal Floating-Point Arithmetic specification, aimed at financial applications, especially in cases where legal requirements make it necessary to use decimal, and not binary floating-point arithmetic (as computation performed with binary floating-point operations may introduce small, but unacceptable errors).

Note: the same package is available for download from

Features and Benefits

Ensures conformance with the IEEE Standard 754-2008 for Floating-Point Arithmetic, for decimal floating-point computations. The library implements all the mandatory functions defined for decimal floating-point arithmetic operations in IEEE Standard 754-2008, which is a replacement for the IEEE Standard 754-1985 for Binary Floating-Point Arithmetic.

The current release is 2.0 Update 2, which extends the previous release, 2.0 Update 1. Release 2.0 Update 1 of the library implemented all the decimal floating-point operations mandated by the IEEE Standard 754-2008 for Floating-Point Arithmetic, plus a set of transcendental functions (supported in 128-bit, 64-bit, and 32-bit decimal formats), including the ones specified in the technical report on decimal arithmetic ISO/IEC TR 24732 (available from For operations involving integer operands or results, the library supports signed and unsigned 8-, 16-, 32-, and 64-bit integers.

The library package contains: (1) a copy of the end user license agreement, eula.txt; (2) a README file; (3) a LIBRARY subdirectory with all the source files necessary to build the library in Linux*, HP-UX, Windows*, and other operating systems; (4) a TESTS subdirectory with source and input files necessary to build and run a reduced set of tests for the library and a README file which specifies how to build and run these tests; (5) an EXAMPLES subdirectory containing eight examples of calls to library functions with various combinations of build options.

Technical Requirements

This generic package should run on any platform in Linux*, Windows*, HP-UX*, Solaris*, or macOS*.

Primary Technology Contact

To report any issues, please send email to

Marius Cornea is a senior principal engineer at Intel, and is the principal maintainer of the Open Source version of the Intel® Decimal Floating-Point Math Library. He holds a master's degree in Electrical Engineering from the Polytechnic Institute of Cluj in Romania, and a Ph.D. degree in Computer Science from Purdue University in West Lafayette, IN. Since joining Intel in 1994, his work was related to scientific computation, design and development of numerical algorithms, floating-point emulation, exception handling, mathematical libraries, and new floating-point instruction definition and analysis. His e-mail is

Product and Performance Information


Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804