Exception handling in scientific computing
- 1 September 1988
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Mathematical Software
- Vol. 14 (3) , 201-217
- https://doi.org/10.1145/44128.44129
Abstract
This paper describes some simple programming language facilities for raising and handling exceptions, and demonstrates, with a number of examples, their effectiveness in a scientific computing environment. Only a small number of predefined exceptions need to be introduced into the language, but any number of user-defined exceptions can he introduced by the programmer. A key feature is that handlers are attached to operators that can raise exceptions (including user-defined functions and procedures, as well as built-in operators), rather than to expressions or statements. The programmer has a great deal of freedom in specifying what action is to be taken in case an exception arises. The implementation and the applications are mainly concerned with scientific computing, but we believe the facilities are applicable in other areas as well.Keywords
This publication has 4 references indexed in Scilit:
- Numerical TuringACM SIGNUM Newsletter, 1985
- A modular verifiable exception handling mechanismACM Transactions on Programming Languages and Systems, 1985
- Correct and Robust ProgramsIEEE Transactions on Software Engineering, 1984
- Exception Handling in CLUIEEE Transactions on Software Engineering, 1979