![]() |
ASE2 CARD CATALOG ENTRY |
Instructions:
Ada System Certifier_1 1.0 Date/Time of Processing: Tuesday 24 May 1994 06:06:24Pm Overall Assessment of System: OK Classification of System: A Basis of Classification -- Syntax Errors PASS Completeness PASS Independence from External Libraries PASS Independence from a Specific Ada Compiler PASS Number of ... Files 93 Library Units 94 Lines 11344 Statements 4728 Comments 1730 Subunits and Parent Units -- 5 parent program units 0 missing parent units 15 subunits 0 subunits found but not specified 0 subunits specified but not found
Among the application domains for which Ada is being used or is under consideration, is the traditional COBOL domain of business data processing. However, Ada's arithmetic type facility does not readily handle the exact decimal model needed for financial computation, leaving a major impediment to a successful transition to Ada for Information Systems applications. The ADAR project addresses this shortcoming by providing a set of packages that define and implement decimal support in Ada 83. The ADAR packages include support for decimal data with up to 18 digits of precision, arithmetic operations with programmer control over rounding versus truncation, conversions to and from common external representations, and formatted output of decimal values based on COBOL's "picture" clauses. The ADAR packages offer a portable interface via a set of unit specifications, and a portable (although not necessarily efficient) reference implementation.
ADAR provides two approaches to decimal arithmetic: one through a discriminated private type, where discriminants establish precision (the number of digits) and scale (the number of digits to the right of the decimal point); and another through generic packages, where the effect of precision and scale is established via generic instantiation. For details on the two approaches, refer to the accompanying report in the SUMMARY.TXT file. Users can employ either or both of the approaches in their programs.
The design and development of ADAR was conducted by Mr. Robert Eachus and Mr. David Emery from the MITRE Corporation, and by Dr. Benjamin Brosgol.
15 Jan 93 1.0 Brosgol et al Initial release to ASSET 12 Nov 93 1.0 ASSET Initial release to the PAL
This prologue must be included in all copies of this software. Restrictions on use or distribution: NONE
This software and its documentation are provided "AS IS" and without any expressed or implied warranties whatsoever. No warranties as to performance, merchantability, or fitness for a particular purpose exist. The user is advised to test the software thoroughly before relying on it. The user must assume the entire risk and liability of using this software. In no event shall any person or organization of people be held responsible for any direct, indirect, consequential or inconsequential damages or lost profits.
Powered by the Generic Web-Based Reuse Library (GWRL)