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> IntrinsicsGenericNamePurposeNum.Args Argument Type Result TypeSET_EXPONENTReturns the model number whosefractional part is the fractional part ofthe model representation of the firstargument and whose exponent partis the second argument.2 REAL, INTEGER REALSIGNReturn the absolute value of A timesthe sign of B.2 INTEGER or REAL,INTEGER or REALSame asArgument(of same kind)SINReturn the sine (in radians) of thespecified value1 REALCOMPLEXREALSINDReturn the sine (in degrees) of thespecified value1 REALCOMPLEXREALSINHSPACINGReturn the hyperbolic sine of thespecified valueReturn the relative spacing of modelnumbers near the argument value.1 REAL REAL1 REAL REALSQRTReturn the square root of theargument.1 REALCOMPLEXREALCOMPLEXTANTANDTANHReturn the tangent (in radians) ofthe specified valueReturn the tangent (in degrees) ofthe specified valueReturn the hyperbolic tangent of thespecified value1 REAL REAL1 REAL REAL1 REAL REAL6.1.13. <strong>Fortran</strong> 2003 and 2008 FunctionsGeneric NameCOMMAND_ARGUMENT_COUNTEXTENDS_TYPE_OFPurposeReturns a scalar of type defaultinteger that is equal to thenumber of arguments passedon the command line whenthe containing program wasinvoked. If there were nocommand arguments passed,the result is 0.Determines whether thedynamic type of A is anextension type of the dynamictype of B.Num.Args Argument Type Result Type0 INTEGER2 Objects of extensible type LOGICALSCALARGET_COMMAND_ARGUMENTReturns the specified commandline argument of the commandthat invoked the program.1 to 4 INTEGERplus optionally:A commandargument<strong>PGI</strong> <strong>Fortran</strong> <strong>Reference</strong> Guide 99

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

Saved successfully!

Ooh no, something went wrong!