# Six language extensions to enhance the portability of mathematical software written in PL/I: background and justification

## Abstract

This report proposes six extensions to ANS PL/I, which is being revised by the American National Standards Committee X3J1. The new features include environmental enquiry functions, generalization of restricted expressings (compile-time expressions), liberalization of the contexts of restricted expressions, a named-literal declaration type, explicit precision specification for constants, and a pragmatic statement for expressing conditions that an implementation must satisfy for acceptable compilation. Used together, these features will give numerical analysts access to properties of an implementation's floating-point arithmetic in exactly the ways required to ease the burden of tailoring a program's precision specifications to new environments. In many cases it will be possible to write PL/I programs that are completely self-adapting to their host environment. Effective definition of the environmental enquiry functions will require the incorporation of an explicitly parameterized model of floating-point arithmetic. If such a model is integrated into the Standard, numerical analysts will be able to state and prove theorems about their programs' error bounds by appealing directly to the Standard.

- Authors:

- Publication Date:

- Research Org.:
- Argonne National Lab., IL (USA)

- OSTI Identifier:
- 5181204

- Report Number(s):
- ANL-82-29

ON: DE82017660

- DOE Contract Number:
- W-31-109-ENG-38

- Resource Type:
- Technical Report

- Country of Publication:
- United States

- Language:
- English

- Subject:
- 99 GENERAL AND MISCELLANEOUS//MATHEMATICS, COMPUTING, AND INFORMATION SCIENCE; PL-1 LANGUAGE; STANDARDS; PROGRAMMING; PROGRAMMING LANGUAGES; TRANSLATORS; COMPUTER CODES; 990200* - Mathematics & Computers

### Citation Formats

```
Dritz, K W.
```*Six language extensions to enhance the portability of mathematical software written in PL/I: background and justification*. United States: N. p., 1982.
Web.

```
Dritz, K W.
```*Six language extensions to enhance the portability of mathematical software written in PL/I: background and justification*. United States.

```
Dritz, K W. Sat .
"Six language extensions to enhance the portability of mathematical software written in PL/I: background and justification". United States.
```

```
@article{osti_5181204,
```

title = {Six language extensions to enhance the portability of mathematical software written in PL/I: background and justification},

author = {Dritz, K W},

abstractNote = {This report proposes six extensions to ANS PL/I, which is being revised by the American National Standards Committee X3J1. The new features include environmental enquiry functions, generalization of restricted expressings (compile-time expressions), liberalization of the contexts of restricted expressions, a named-literal declaration type, explicit precision specification for constants, and a pragmatic statement for expressing conditions that an implementation must satisfy for acceptable compilation. Used together, these features will give numerical analysts access to properties of an implementation's floating-point arithmetic in exactly the ways required to ease the burden of tailoring a program's precision specifications to new environments. In many cases it will be possible to write PL/I programs that are completely self-adapting to their host environment. Effective definition of the environmental enquiry functions will require the incorporation of an explicitly parameterized model of floating-point arithmetic. If such a model is integrated into the Standard, numerical analysts will be able to state and prove theorems about their programs' error bounds by appealing directly to the Standard.},

doi = {},

journal = {},

number = ,

volume = ,

place = {United States},

year = {1982},

month = {5}

}