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> IntrinsicsF77SynopsisDIM(X, Y)ArgumentsX must be of type integer or real. Y must be of the same type and kind as X.Return Value<strong>The</strong> result is the same type and kind as X with the value X-Y if X>Y, otherwise zero.6.12. ININTReturns the nearest short integer to the real argument.F77 extensionSynopsisININT(A)Arguments<strong>The</strong> argument A must be a real.Return ValueA short integer with value (A + .5 * SIGN(A)).6.13. INT8Converts a real value to a long integer type.F77 extensionSynopsisINT8(A)<strong>PGI</strong> <strong>Fortran</strong> <strong>Reference</strong> Guide 105

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

Saved successfully!

Ooh no, something went wrong!