Arbitrary Precision in a Preliminary Math Unit for ADA.
Abstract
This project involved designing a unit of mathematical functions for an Ada language environment. The design includes the basic arithmetic operations and the transcendental functions. It uses modularity and defines both integer and floating point number representations. The main features of the design are its use of any specified precision (referred to as arbitrary precision), its implementation independence, and its structure as two separate Ada-like packages. Two packages are used to permit an implementation to increase the unit's efficiency, if desirable. The main package, MATHPAK, sets up all of the unit's functions and performs all but the lowest level arithmetic operations. The secondary package, IMPLMENT, performs the machine level arithmetic operations, and its implementation independent version can be replaced by a more efficient, machine dependent package without requiring change in MATHPAK.
Document Details
- Document Type
- Technical Report
- Publication Date
- Mar 01, 1982
- Accession Number
- ADA115557
Entities
People
- Patricia K. Lawlis
Organizations
- Air Force Institute of Technology