The package performs multiple-precision real interval arithmetic.
It provides the intrinsic Fortran numerical functions, as well as many special
functions that are not included in the Fortran standard.
One of the primary uses of the package is to study the accuracy and stability of numerical
algorithms by using interval arithmetic, giving results that are intervals guaranteed to
contain the exact solution.
The precision and base for the arithmetic can be set by the user.
The program SampleFMinterval.f95 below gives examples of using FM for interval calculations.
The actual files shown on this page are in this archive that contains all the FM files from this
The individual file pointers here display as pdf files for browsing. The longer files are cut
off after 20 pages.
Subroutine library for multiple-precision interval operations. 22,346 lines of code
Checks several operations for each of the fm_interval routines. 19,886 lines of code
Small sample program using fm_interval. 661 lines of code
Expected output file from SampleFMinterval.f95. 192 lines
Interval examples from "A Multiple-Precision Interval Arithmetic Package". 1,099 lines of code
Expected output file from IntervalExamplesFM.f95. 360 lines
User's guide for the package, along with a list of the files, and an example set of
compiler/linker commands for building the programs. 182 lines
This paper describes the package and discusses several examples showing cases where interval
arithmetic works well and also cases where it doesn't.
A Multiple-Precision Interval Arithmetic Package
http://myweb.lmu.edu/dmsmith/FMLIB.html (2014) 1 -- 13