Formal methods applied to a floating-point number system |
| |
Authors: | Barrett G |
| |
Affiliation: | Programming Res. Group, Oxford Univ.; |
| |
Abstract: | A formalization of the IEEE standard for binary floating-point arithmetic (ANSI/IEEE Std. 754-1985) is presented in the set-theoretic specification language Z. The formal specification is refined into four sequential components, which unpack the operands, perform the arithmetic, and pack and round the result. This refinement follows proven rules and so demonstrates a mathematically rigorous method of program development. In the course of the proofs, useful internal representations of floating-point numbers are specified. The procedures presented form the basis for the floating-point unit of the Inmos IMS T800 transputer |
| |
Keywords: | |
|
|