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...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Fortran</strong> IntrinsicsGenericNameININTPurposeReturns the nearest short integer tothe real argument.Num.Args Argument Type Result Type1 REAL INTEGERINT Converts a value to integer type. 12INTEGER, REAL, or COMPLEXINTEGER, REAL, or COMPLEX;KINDINTEGERINT8Converts a real value to a longinteger type.1 REAL INTEGERIZEXT Zero-extend the argument. 1 LOGICAL or INTEGER INTEGERJINT Converts a value to an integer type. 1 INTEGER, REAL, or COMPLEX INTEGERJNINTKNINTReturns the nearest integer to thereal argument.Returns the nearest integer to thereal argument.1 REAL INTEGER1 REAL INTEGER (long)LOG Returns the natural logarithm. 1 REAL or COMPLEX REALLOG10 Returns the common logarithm. 1 REAL REALMAXReturn the maximum value of thesupplied arguments.2 ormoreINTEGER or REAL(all of same kind)Same asArgument TypeMINReturn the minimum value of thesupplied arguments.2 ormoreINTEGER or REAL(all of same kind)Same asArgument TypeMOD Find the remainder. 2 ormoreINTEGER or REAL,INTEGER or REAL(all of same kind)Same asArgument TypeMODULOReturn the modulo value of thearguments.2 ormoreINTEGER or REAL,INTEGER or REALSame asArgument Type(all of same kind)NEARESTNEQVReturns the nearest differentmachine representable number in agiven direction.Performs a logical exclusive OR onthe arguments.2 REAL, non-zero REAL REAL2 ANY except CHAR or COMPLEXNINT Converts a value to integer type. 12REAL Convert the argument to real. 12REALREAL, KINDIINTEGER, REAL, or COMPLEXINTEGER, REAL, or COMPLEX;KINDINTEGERREALRRSPACINGReturn the reciprocal of the relativespacing of model numbers near theargument value.1 REAL REAL<strong>PGI</strong> <strong>Fortran</strong> <strong>Reference</strong> Guide 98

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

Saved successfully!

Ooh no, something went wrong!