Intel® Decimal Floating-Point Math Library

ID 674666
Updated 6/25/2018
Version Latest





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 also available for direct 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*.


IA-32 Architecture, Intel® 64, and IA-64 Architecture running Linux*, Windows*, HP-UX*, and 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