GET_IEEE_INTERRUPTS(3I) Last changed: 1-6-98
NAME
GET_IEEE_INTERRUPTS - Retrieves flags that represent the current
floating-point interrupt status
SYNOPSIS
GET_IEEE_INTERRUPTS ([STATUS=]status)
IMPLEMENTATION
UNICOS/mk and IRIX systems
CRAY T90 systems that support IEEE floating-point arithmetic
STANDARDS
CF90 and MIPSpro 7 Fortran 90 compiler extension to Fortran 90
IEEE Standard for Binary Floating-point Arithmetic
DESCRIPTION
The GET_IEEE_INTERRUPTS intrinsic subroutine is typically called upon
entry to a procedure to obtain a set of flags that represent the
current floating-point interrupt status. It accepts the following
argument:
status Must be scalar and of an integer type that occupies a full
word. It is an INTENT(OUT) argument.
For the names of all possible interrupts, see GET_IEEE_STATUS(3I).
This subroutine increases program performance by capturing and then
directly manipulating the status bits with bit manipulation
operations. This practice compromises portability, however.
The name of this intrinsic cannot be passed as an argument.
Some of the bits of status are set to indicate the floating-point
interrupts that are currently enabled or currently disabled. The
state of any given interrupt can be determined using
TEST_IEEE_INTERRUPT(3I) and can be altered using
ENABLE_IEEE_INTERRUPT(3I) or DISABLE_IEEE_INTERRUPT(3I).
NOTES
The IEEE intrinsic procedures use the named constants contained in a
system module, so you must include one of the following statements in
your program:
* On UNICOS and UNICOS/mk systems: USE CRI_IEEE_DEFINITIONS
* On UNICOS, UNICOS/mk, and IRIX systems: USE FTN_IEEE_DEFINITIONS
The CRI_IEEE_DEFINITIONS module is obsolescent. It will be removed
for the CF90 4.0 release.
EXAMPLES
See the example on DISABLE_IEEE_INTERRUPT(3I).
SEE ALSODISABLE_IEEE_INTERRUPT(3I), ENABLE_IEEE_INTERRUPT(3I),
GET_IEEE_STATUS(3I), TEST_IEEE_INTERRUPT(3I)
Intrinsic Procedures Reference Manual, publication SR-2138, for the
printed version of this man page.