Flap: A Matlab Package for Adjustable Precision Floating-Point Arithmetic
G. W. (Pete) Stewart

Flap is a package to implement floating-point arithmetic with adjustable precision. Specifically, operations are performed on Matlab doubles but are rounded to a user specified number of decimal digits after each operation. The number can be changed dynamically. Flap is intended to make it easy to generate examples of the effects of rounding error for classroom use. For more details open the file Flap.pdf.

To get started, download Flap.tar into a directory in which you will place the directory FlapBase, and run your favorite detar program. This will create the directory FlapBase, which will contain further instructions.

Files and directories: