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> IntrinsicsSynopsisZEXT(A)Arguments<strong>The</strong> argument A is of type logical or integer.Return ValueAn integer.6.27. Intrinsic ModulesLike an intrinsic function, the <strong>Fortran</strong> processor provides the intrinsic module. It is possible fora program to use an intrinsic module and a user-defined module of the same name, though theycannot both be referenced from the same scope.‣ To use a user-defined module rather than an intrinsic module, specify the keyword nonintrinsicin the USE statement:USE, non-intrinsic :: iso_fortran_env‣ To use an intrinsic module rather than a user-defined one, specify the keyword intrinsic inthe USE statement:USE, intrinsic :: iso_fortran_envIf both a user-defined and intrinsic module of the same name are available and locatable by the compiler,a USE statement without either of the keywords previously described accesses the user-defined module. Ifthe compiler cannot locate the user-defined module, it accessed the intrinsic module and does not issue awarning.6.27.1. Module IEEE_ARITHMETIC<strong>The</strong> ieee_arithmetic intrinsic module provides access to two derived types, namedconstants of these types, and a collection of generic procedures.This module behaves as if it contained a use statement for the module ieee_exceptions, soall the features of ieee_exceptions are included. For information of this module, refer to ModuleIEEE_EXCEPTIONS.6.27.2. IEEE_ARITHMETIC Derived Types<strong>The</strong> ieee_arithmetic intrinsic module provides access to these two derived types:ieee_class_type and ieee_round_type.ieee_class_typeIdentifies a class of floating point values.<strong>PGI</strong> <strong>Fortran</strong> <strong>Reference</strong> Guide 112

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

Saved successfully!

Ooh no, something went wrong!