10.07.2015 Views

PGI Fortran Reference manual - The Portland Group

PGI Fortran Reference manual - The Portland Group

PGI Fortran Reference manual - The Portland Group

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Fortran</strong> Intrinsics‣ halting is of type default logical‣ flag_value is of type default logical‣ status_value if is type type(ieee_status_type).Elemental SubroutinesTable 27 provides a list and brief description of what it means if the inquiry function returns.true. In all cases, if the condition for returning .true. is not met, the function returns.false..Table 27 IEEE_EXCEPTIONS Elemental SubroutinesThis elemental subroutine...ieee_get_flag(flag, flag_value)ieee_get_halting_mode( flag, halting )Does this...If the value of flag is ieee_invalid, ieee_overflow,ieee_divide_by_zero, ieee_underflow, orieee_inexact and the corresponding exception flag is signaling,flag_value is true.<strong>The</strong> value flag must have one of the values: ieee_invalid,ieee_overflow, ieee_divide_by_zero,ieee_underflow, or ieee_inexact. If the exception specifiedcauses halting, halting is true.Non-Elemental Subroutines<strong>The</strong> ieee_exceptions intrinsic module supports non-elemental subroutines for flags andhalting mode as well as for floating-point status.Table 28 provides a list and brief description of these subroutines.Table 28 IEEE_EXCEPTIONS Elemental SubroutinesThis non-elemental subroutine...ieee_set_flag(flag, flag_value)ieee_set_halting_mode( flag, halting )ieee_get_status( status_value )ieee_set_status( status_value )Does this...If the value returned by ieee_support_halting is true, each flagspecified is set to be signalling if the corresponding flag_value is trueand is set to be quiet if it is false.Each exception specified by flag causes halting if the corresponding value ofhalting is true. If value is false, it does not cause halting.Returns the floating-point status, including all the exception flags, the rounding mode,and the halting mode.Resets the floating-point status, including all the exception flags, the rounding mode,and the halting mode to the previous invocation of ieee_get_status.<strong>PGI</strong> <strong>Fortran</strong> <strong>Reference</strong> Guide 118

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!