www.delorie.com/gnu/docs/gcc/g77_75.html   search  
 
Buy the book!


Using and Porting GNU Fortran

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

8.11.9 Table of Intrinsic Functions

(Corresponds to Section 15.10 of ANSI X3.9-1978 FORTRAN 77.)

The GNU Fortran language adds various functions, subroutines, types, and arguments to the set of intrinsic functions in ANSI FORTRAN 77. The complete set of intrinsics supported by the GNU Fortran language is described below.

Note that a name is not treated as that of an intrinsic if it is specified in an EXTERNAL statement in the same program unit; if a command-line option is used to disable the groups to which the intrinsic belongs; or if the intrinsic is not named in an INTRINSIC statement and a command-line option is used to hide the groups to which the intrinsic belongs.

So, it is recommended that any reference in a program unit to an intrinsic procedure that is not a standard FORTRAN 77 intrinsic be accompanied by an appropriate INTRINSIC statement in that program unit. This sort of defensive programming makes it more likely that an implementation will issue a diagnostic rather than generate incorrect code for such a reference.

The terminology used below is based on that of the Fortran 90 standard, so that the text may be more concise and accurate:

(Note that the empty lines appearing in the menu below are not intentional--they result from a bug in the GNU makeinfo program...a program that, if it did not exist, would leave this document in far worse shape!)

8.11.9.1 Abort Intrinsic  Abort the program.
8.11.9.2 Abs Intrinsic  Absolute value.
8.11.9.3 Access Intrinsic  Check file accessibility.
8.11.9.4 AChar Intrinsic  ASCII character from code.
8.11.9.5 ACos Intrinsic  Arc cosine.
8.11.9.6 AdjustL Intrinsic  (Reserved for future use.)
8.11.9.7 AdjustR Intrinsic  (Reserved for future use.)
8.11.9.8 AImag Intrinsic  Convert/extract imaginary part of complex.
8.11.9.9 AInt Intrinsic  Truncate to whole number.
8.11.9.10 Alarm Intrinsic  Execute a routine after a given delay.
8.11.9.11 All Intrinsic  (Reserved for future use.)
8.11.9.12 Allocated Intrinsic  (Reserved for future use.)
8.11.9.13 ALog Intrinsic  Natural logarithm (archaic).
8.11.9.14 ALog10 Intrinsic  Common logarithm (archaic).
8.11.9.15 AMax0 Intrinsic  Maximum value (archaic).
8.11.9.16 AMax1 Intrinsic  Maximum value (archaic).
8.11.9.17 AMin0 Intrinsic  Minimum value (archaic).
8.11.9.18 AMin1 Intrinsic  Minimum value (archaic).
8.11.9.19 AMod Intrinsic  Remainder (archaic).
8.11.9.20 And Intrinsic  Boolean AND.
8.11.9.21 ANInt Intrinsic  Round to nearest whole number.
8.11.9.22 Any Intrinsic  (Reserved for future use.)
8.11.9.23 ASin Intrinsic  Arc sine.
8.11.9.24 Associated Intrinsic  (Reserved for future use.)
8.11.9.25 ATan Intrinsic  Arc tangent.
8.11.9.26 ATan2 Intrinsic  Arc tangent.
8.11.9.27 BesJ0 Intrinsic  Bessel function.
8.11.9.28 BesJ1 Intrinsic  Bessel function.
8.11.9.29 BesJN Intrinsic  Bessel function.
8.11.9.30 BesY0 Intrinsic  Bessel function.
8.11.9.31 BesY1 Intrinsic  Bessel function.
8.11.9.32 BesYN Intrinsic  Bessel function.
8.11.9.33 Bit_Size Intrinsic  Number of bits in argument's type.
8.11.9.34 BTest Intrinsic  Test bit.
8.11.9.35 CAbs Intrinsic  Absolute value (archaic).
8.11.9.36 CCos Intrinsic  Cosine (archaic).
8.11.9.37 Ceiling Intrinsic  (Reserved for future use.)
8.11.9.38 CExp Intrinsic  Exponential (archaic).
8.11.9.39 Char Intrinsic  Character from code.
8.11.9.40 ChDir Intrinsic (subroutine)  Change directory.
8.11.9.41 ChMod Intrinsic (subroutine)  Change file modes.
8.11.9.42 CLog Intrinsic  Natural logarithm (archaic).
8.11.9.43 Cmplx Intrinsic  Construct COMPLEX(KIND=1) value.
8.11.9.44 Complex Intrinsic  Build complex value from real and imaginary parts.
8.11.9.45 Conjg Intrinsic  Complex conjugate.
8.11.9.46 Cos Intrinsic  Cosine.
8.11.9.47 CosH Intrinsic  Hyperbolic cosine.
8.11.9.48 Count Intrinsic  (Reserved for future use.)
8.11.9.49 CPU_Time Intrinsic  Get current CPU time.
8.11.9.50 CShift Intrinsic  (Reserved for future use.)
8.11.9.51 CSin Intrinsic  Sine (archaic).
8.11.9.52 CSqRt Intrinsic  Square root (archaic).
8.11.9.53 CTime Intrinsic (subroutine)  Convert time to Day Mon dd hh:mm:ss yyyy.
8.11.9.54 CTime Intrinsic (function)  Convert time to Day Mon dd hh:mm:ss yyyy.
8.11.9.55 DAbs Intrinsic  Absolute value (archaic).
8.11.9.56 DACos Intrinsic  Arc cosine (archaic).
8.11.9.57 DASin Intrinsic  Arc sine (archaic).
8.11.9.58 DATan Intrinsic  Arc tangent (archaic).
8.11.9.59 DATan2 Intrinsic  Arc tangent (archaic).
8.11.9.60 Date_and_Time Intrinsic  Get the current date and time.
8.11.9.61 DbesJ0 Intrinsic  Bessel function (archaic).
8.11.9.62 DbesJ1 Intrinsic  Bessel function (archaic).
8.11.9.63 DbesJN Intrinsic  Bessel function (archaic).
8.11.9.64 DbesY0 Intrinsic  Bessel function (archaic).
8.11.9.65 DbesY1 Intrinsic  Bessel function (archaic).
8.11.9.66 DbesYN Intrinsic  Bessel function (archaic).
8.11.9.67 Dble Intrinsic  Convert to double precision.
8.11.9.68 DCos Intrinsic  Cosine (archaic).
8.11.9.69 DCosH Intrinsic  Hyperbolic cosine (archaic).
8.11.9.70 DDiM Intrinsic  Difference magnitude (archaic).
8.11.9.71 DErF Intrinsic  Error function (archaic).
8.11.9.72 DErFC Intrinsic  Complementary error function (archaic).
8.11.9.73 DExp Intrinsic  Exponential (archaic).
8.11.9.74 Digits Intrinsic  (Reserved for future use.)
8.11.9.75 DiM Intrinsic  Difference magnitude (non-negative subtract).
8.11.9.76 DInt Intrinsic  Truncate to whole number (archaic).
8.11.9.77 DLog Intrinsic  Natural logarithm (archaic).
8.11.9.78 DLog10 Intrinsic  Common logarithm (archaic).
8.11.9.79 DMax1 Intrinsic  Maximum value (archaic).
8.11.9.80 DMin1 Intrinsic  Minimum value (archaic).
8.11.9.81 DMod Intrinsic  Remainder (archaic).
8.11.9.82 DNInt Intrinsic  Round to nearest whole number (archaic).
8.11.9.83 Dot_Product Intrinsic  (Reserved for future use.)
8.11.9.84 DProd Intrinsic  Double-precision product.
8.11.9.85 DSign Intrinsic  Apply sign to magnitude (archaic).
8.11.9.86 DSin Intrinsic  Sine (archaic).
8.11.9.87 DSinH Intrinsic  Hyperbolic sine (archaic).
8.11.9.88 DSqRt Intrinsic  Square root (archaic).
8.11.9.89 DTan Intrinsic  Tangent (archaic).
8.11.9.90 DTanH Intrinsic  Hyperbolic tangent (archaic).
8.11.9.91 DTime Intrinsic (subroutine)  Get elapsed time since last time.
8.11.9.92 EOShift Intrinsic  (Reserved for future use.)
8.11.9.93 Epsilon Intrinsic  (Reserved for future use.)
8.11.9.94 ErF Intrinsic  Error function.
8.11.9.95 ErFC Intrinsic  Complementary error function.
8.11.9.96 ETime Intrinsic (subroutine)  Get elapsed time for process.
8.11.9.97 ETime Intrinsic (function)  Get elapsed time for process.
8.11.9.98 Exit Intrinsic  Terminate the program.
8.11.9.99 Exp Intrinsic  Exponential.
8.11.9.100 Exponent Intrinsic  (Reserved for future use.)
8.11.9.101 FDate Intrinsic (subroutine)  Get current time as Day Mon dd hh:mm:ss yyyy.
8.11.9.102 FDate Intrinsic (function)  Get current time as Day Mon dd hh:mm:ss yyyy.
8.11.9.103 FGet Intrinsic (subroutine)  Read a character from unit 5 stream-wise.
8.11.9.104 FGetC Intrinsic (subroutine)  Read a character stream-wise.
8.11.9.105 Float Intrinsic  Conversion (archaic).
8.11.9.106 Floor Intrinsic  (Reserved for future use.)
8.11.9.107 Flush Intrinsic  Flush buffered output.
8.11.9.108 FNum Intrinsic  Get file descriptor from Fortran unit number.
8.11.9.109 FPut Intrinsic (subroutine)  Write a character to unit 6 stream-wise.
8.11.9.110 FPutC Intrinsic (subroutine)  Write a character stream-wise.
8.11.9.111 Fraction Intrinsic  (Reserved for future use.)
8.11.9.112 FSeek Intrinsic  Position file (low-level).
8.11.9.113 FStat Intrinsic (subroutine)  Get file information.
8.11.9.114 FStat Intrinsic (function)  Get file information.
8.11.9.115 FTell Intrinsic (subroutine)  Get file position (low-level).
8.11.9.116 FTell Intrinsic (function)  Get file position (low-level).
8.11.9.117 GError Intrinsic  Get error message for last error.
8.11.9.118 GetArg Intrinsic  Obtain command-line argument.
8.11.9.119 GetCWD Intrinsic (subroutine)  Get current working directory.
8.11.9.120 GetCWD Intrinsic (function)  Get current working directory.
8.11.9.121 GetEnv Intrinsic  Get environment variable.
8.11.9.122 GetGId Intrinsic  Get process group id.
8.11.9.123 GetLog Intrinsic  Get login name.
8.11.9.124 GetPId Intrinsic  Get process id.
8.11.9.125 GetUId Intrinsic  Get process user id.
8.11.9.126 GMTime Intrinsic  Convert time to GMT time info.
8.11.9.127 HostNm Intrinsic (subroutine)  Get host name.
8.11.9.128 HostNm Intrinsic (function)  Get host name.
8.11.9.129 Huge Intrinsic  (Reserved for future use.)
8.11.9.130 IAbs Intrinsic  Absolute value (archaic).
8.11.9.131 IAChar Intrinsic  ASCII code for character.
8.11.9.132 IAnd Intrinsic  Boolean AND.
8.11.9.133 IArgC Intrinsic  Obtain count of command-line arguments.
8.11.9.134 IBClr Intrinsic  Clear a bit.
8.11.9.135 IBits Intrinsic  Extract a bit subfield of a variable.
8.11.9.136 IBSet Intrinsic  Set a bit.
8.11.9.137 IChar Intrinsic  Code for character.
8.11.9.138 IDate Intrinsic (UNIX)  Get local time info.
8.11.9.139 IDiM Intrinsic  Difference magnitude (archaic).
8.11.9.140 IDInt Intrinsic  Convert to INTEGER value truncated to whole number (archaic).
8.11.9.141 IDNInt Intrinsic  Convert to INTEGER value rounded to nearest whole number (archaic).
8.11.9.142 IEOr Intrinsic  Boolean XOR.
8.11.9.143 IErrNo Intrinsic  Get error number for last error.
8.11.9.144 IFix Intrinsic  Conversion (archaic).
8.11.9.145 Imag Intrinsic  Extract imaginary part of complex.
8.11.9.146 ImagPart Intrinsic  Extract imaginary part of complex.
8.11.9.147 Index Intrinsic  Locate a CHARACTER substring.
8.11.9.148 Int Intrinsic  Convert to INTEGER value truncated to whole number.
8.11.9.149 Int2 Intrinsic  Convert to INTEGER(KIND=6) value truncated to whole number.
8.11.9.150 Int8 Intrinsic  Convert to INTEGER(KIND=2) value truncated to whole number.
8.11.9.151 IOr Intrinsic  Boolean OR.
8.11.9.152 IRand Intrinsic  Random number.
8.11.9.153 IsaTty Intrinsic  Is unit connected to a terminal?
8.11.9.154 IShft Intrinsic  Logical bit shift.
8.11.9.155 IShftC Intrinsic  Circular bit shift.
8.11.9.156 ISign Intrinsic  Apply sign to magnitude (archaic).
8.11.9.157 ITime Intrinsic  Get local time of day.
8.11.9.158 Kill Intrinsic (subroutine)  Signal a process.
8.11.9.159 Kind Intrinsic  (Reserved for future use.)
8.11.9.160 LBound Intrinsic  (Reserved for future use.)
8.11.9.161 Len Intrinsic  Length of character entity.
8.11.9.162 Len_Trim Intrinsic  Get last non-blank character in string.
8.11.9.163 LGe Intrinsic  Lexically greater than or equal.
8.11.9.164 LGt Intrinsic  Lexically greater than.
8.11.9.165 Link Intrinsic (subroutine)  Make hard link in file system.
8.11.9.166 LLe Intrinsic  Lexically less than or equal.
8.11.9.167 LLt Intrinsic  Lexically less than.
8.11.9.168 LnBlnk Intrinsic  Get last non-blank character in string.
8.11.9.169 Loc Intrinsic  Address of entity in core.
8.11.9.170 Log Intrinsic  Natural logarithm.
8.11.9.171 Log10 Intrinsic  Common logarithm.
8.11.9.172 Logical Intrinsic  (Reserved for future use.)
8.11.9.173 Long Intrinsic  Conversion to INTEGER(KIND=1) (archaic).
8.11.9.174 LShift Intrinsic  Left-shift bits.
8.11.9.175 LStat Intrinsic (subroutine)  Get file information.
8.11.9.176 LStat Intrinsic (function)  Get file information.
8.11.9.177 LTime Intrinsic  Convert time to local time info.
8.11.9.178 MatMul Intrinsic  (Reserved for future use.)
8.11.9.179 Max Intrinsic  Maximum value.
8.11.9.180 Max0 Intrinsic  Maximum value (archaic).
8.11.9.181 Max1 Intrinsic  Maximum value (archaic).
8.11.9.182 MaxExponent Intrinsic  (Reserved for future use.)
8.11.9.183 MaxLoc Intrinsic  (Reserved for future use.)
8.11.9.184 MaxVal Intrinsic  (Reserved for future use.)
8.11.9.185 MClock Intrinsic  Get number of clock ticks for process.
8.11.9.186 MClock8 Intrinsic  Get number of clock ticks for process.
8.11.9.187 Merge Intrinsic  (Reserved for future use.)
8.11.9.188 Min Intrinsic  Minimum value.
8.11.9.189 Min0 Intrinsic  Minimum value (archaic).
8.11.9.190 Min1 Intrinsic  Minimum value (archaic).
8.11.9.191 MinExponent Intrinsic  (Reserved for future use.)
8.11.9.192 MinLoc Intrinsic  (Reserved for future use.)
8.11.9.193 MinVal Intrinsic  (Reserved for future use.)
8.11.9.194 Mod Intrinsic  Remainder.
8.11.9.195 Modulo Intrinsic  (Reserved for future use.)
8.11.9.196 MvBits Intrinsic  Moving a bit field.
8.11.9.197 Nearest Intrinsic  (Reserved for future use.)
8.11.9.198 NInt Intrinsic  Convert to INTEGER value rounded to nearest whole number.
8.11.9.199 Not Intrinsic  Boolean NOT.
8.11.9.200 Or Intrinsic  Boolean OR.
8.11.9.201 Pack Intrinsic  (Reserved for future use.)
8.11.9.202 PError Intrinsic  Print error message for last error.
8.11.9.203 Precision Intrinsic  (Reserved for future use.)
8.11.9.204 Present Intrinsic  (Reserved for future use.)
8.11.9.205 Product Intrinsic  (Reserved for future use.)
8.11.9.206 Radix Intrinsic  (Reserved for future use.)
8.11.9.207 Rand Intrinsic  Random number.
8.11.9.208 Random_Number Intrinsic  (Reserved for future use.)
8.11.9.209 Random_Seed Intrinsic  (Reserved for future use.)
8.11.9.210 Range Intrinsic  (Reserved for future use.)
8.11.9.211 Real Intrinsic  Convert value to type REAL(KIND=1).
8.11.9.212 RealPart Intrinsic  Extract real part of complex.
8.11.9.213 Rename Intrinsic (subroutine)  Rename file.
8.11.9.214 Repeat Intrinsic  (Reserved for future use.)
8.11.9.215 Reshape Intrinsic  (Reserved for future use.)
8.11.9.216 RRSpacing Intrinsic  (Reserved for future use.)
8.11.9.217 RShift Intrinsic  Right-shift bits.
8.11.9.218 Scale Intrinsic  (Reserved for future use.)
8.11.9.219 Scan Intrinsic  (Reserved for future use.)
8.11.9.220 Second Intrinsic (function)  Get CPU time for process in seconds.
8.11.9.221 Second Intrinsic (subroutine)  Get CPU time for process in seconds.
8.11.9.222 Selected_Int_Kind Intrinsic  (Reserved for future use.)
8.11.9.223 Selected_Real_Kind Intrinsic  (Reserved for future use.)
8.11.9.224 Set_Exponent Intrinsic  (Reserved for future use.)
8.11.9.225 Shape Intrinsic  (Reserved for future use.)
8.11.9.226 Short Intrinsic  Convert to INTEGER(KIND=6) value truncated to whole number.
8.11.9.227 Sign Intrinsic  Apply sign to magnitude.
8.11.9.228 Signal Intrinsic (subroutine)  Muck with signal handling.
8.11.9.229 Sin Intrinsic  Sine.
8.11.9.230 SinH Intrinsic  Hyperbolic sine.
8.11.9.231 Sleep Intrinsic  Sleep for a specified time.
8.11.9.232 Sngl Intrinsic  Convert (archaic).
8.11.9.233 Spacing Intrinsic  (Reserved for future use.)
8.11.9.234 Spread Intrinsic  (Reserved for future use.)
8.11.9.235 SqRt Intrinsic  Square root.
8.11.9.236 SRand Intrinsic  Random seed.
8.11.9.237 Stat Intrinsic (subroutine)  Get file information.
8.11.9.238 Stat Intrinsic (function)  Get file information.
8.11.9.239 Sum Intrinsic  (Reserved for future use.)
8.11.9.240 SymLnk Intrinsic (subroutine)  Make symbolic link in file system.
8.11.9.241 System Intrinsic (subroutine)  Invoke shell (system) command.
8.11.9.242 System_Clock Intrinsic  Get current system clock value.
8.11.9.243 Tan Intrinsic  Tangent.
8.11.9.244 TanH Intrinsic  Hyperbolic tangent.
8.11.9.245 Time Intrinsic (UNIX)  Get current time as time value.
8.11.9.246 Time8 Intrinsic  Get current time as time value.
8.11.9.247 Tiny Intrinsic  (Reserved for future use.)
8.11.9.248 Transfer Intrinsic  (Reserved for future use.)
8.11.9.249 Transpose Intrinsic  (Reserved for future use.)
8.11.9.250 Trim Intrinsic  (Reserved for future use.)
8.11.9.251 TtyNam Intrinsic (subroutine)  Get name of terminal device for unit.
8.11.9.252 TtyNam Intrinsic (function)  Get name of terminal device for unit.
8.11.9.253 UBound Intrinsic  (Reserved for future use.)
8.11.9.254 UMask Intrinsic (subroutine)  Set file creation permissions mask.
8.11.9.255 Unlink Intrinsic (subroutine)  Unlink file.
8.11.9.256 Unpack Intrinsic  (Reserved for future use.)
8.11.9.257 Verify Intrinsic  (Reserved for future use.)
8.11.9.258 XOr Intrinsic  Boolean XOR.
8.11.9.259 ZAbs Intrinsic  Absolute value (archaic).
8.11.9.260 ZCos Intrinsic  Cosine (archaic).
8.11.9.261 ZExp Intrinsic  Exponential (archaic).
8.11.9.262 ZLog Intrinsic  Natural logarithm (archaic).
8.11.9.263 ZSin Intrinsic  Sine (archaic).
8.11.9.264 ZSqRt Intrinsic  Square root (archaic).


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003