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

NAG Library Routine Document

X07CBF

+ Contents

1 Purpose

X07CBF sets the current IEEE exception halting mode.

2 Specification

SUBROUTINE X07CBF ( EXCEPTIONMODE)
INTEGER EXCEPTIONMODE(3)

3 Description

X07CBF sets 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 arrayInput
On entry: each of the three elements of EXCEPTIONMODE must contain any nonzero value if the corresponding condition should raise an exception, and contain 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.

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

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

AltStyle によって変換されたページ (->オリジナル) /