Sun Studio 12: Fortran Library Reference

2.2.1.5 Nonelemental Subroutines

The module IEEE_EXCEPTIONS contains the following nonelemental subroutines.

Subroutine  

Description  

IEEE_GET_STATUS(STATUS_VALUE)

Get the current state of the floating point environment. 

IEEE_SET_FLAG(FLAG,FLAG_VALUE)

Set an exception flag. 

IEEE_SET_HALTING_MODE(FLAG,HALTING)

Controls continuation or halting on exceptions. 

IEEE_SET_STATUS(STATUS_VALUE)

Restore the state of the floating point environment. 

The module IEEE_ARITHMETIC contains the following nonelemental subroutines.

Subroutine  

Description  

IEEE_GET_ROUNDING_MODE(ROUND_VAL)

Get the current IEEE rounding mode. 

IEEE_SET_ROUNDING_MODE(ROUND_VAL)

Set the current IEEE rounding mode.