X07 Chapter Contents
X07 Chapter Introduction
NAG Library Manual

NAG Library Routine DocumentX07CAF

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. ${\mathbf{EXCEPTIONMODE}}\left(1\right)$ concerns floating point overflow, ${\mathbf{EXCEPTIONMODE}}\left(2\right)$ concerns floating point division by zero, and ${\mathbf{EXCEPTIONMODE}}\left(3\right)$ concerns floating point invalid operation.

None.

Not applicable.