TOMS722
IEEE Arithmetic Support


TOMS722 is a C library which supports IEEE arithmetic. Both single and double precision routines are supplied.

Compilation of the functions requires specifying a compiler flag that indicates whether big-endian or little-endian storage is used, and whether graceful underflow occurs.

The current results used the compiler flag "-DBEG", but there are four pairs of computations that had to be commented out in order for the tests to run.

The original, correct and authentic copies of the source code are available from the TOMS subdirectory of NETLIB.

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Languages:

TOMS722 is available in a C version.

Related Data and Programs:

MACHAR, a C library which can compute machine arithmetic quantities dynamically.

MACHINE, a C library which stores the appropriate values of machine constants for a given machine.

Reference:

  1. William Cody, Jerome Coonen,
    Algorithm 722: Functions to support the IEEE standard for binary floating point arithmetic;
    ACM Transactions on Mathematical Software,
    Volume 19, Number 4, December 1993, pages 443-451.

Source Code:

Examples and Tests:

List of Routines:

You can go up one level to the C source codes.


Last revised on 15 May 2016.