X07CAF (PDF version)
X07 Chapter Contents
X07 Chapter Introduction
NAG Library Manual

NAG Library Routine Document

X07CAF

+ Contents

    1  Purpose
    7  Accuracy
    9  Example

1  Purpose

X07CAF gets the current IEEE exception halting mode.

2  Specification

SUBROUTINE X07CAF ( EXCEPTIONMODE)
INTEGER  EXCEPTIONMODE(3)

3  Description

X07CAF gets the current IEEE exception halting mode for the three common exceptions: overflow, divide-by-zero and invalid operation.

4  References

IEEE (2008) Standard for Floating-Point Arithmetic IEEE Standard 754-2008 IEEE, New York.

5  Parameters

1:     EXCEPTIONMODE(3) – INTEGER arrayOutput
On exit: each of the three elements of EXCEPTIONMODE is set to 1 if the corresponding condition will raise an exception, and is set to 0 otherwise. EXCEPTIONMODE1 concerns floating point overflow, EXCEPTIONMODE2 concerns floating point division by zero, and EXCEPTIONMODE3 concerns floating point invalid operation.

6  Error Indicators and Warnings

None.

7  Accuracy

Not applicable.

8  Further Comments

None.

9  Example

See Section 9 in X07AAF.

X07CAF (PDF version)
X07 Chapter Contents
X07 Chapter Introduction
NAG Library Manual

© The Numerical Algorithms Group Ltd, Oxford, UK. 2012