W3C
school
文档首页
HTML
CSS
Javascript
Python
jQuery
NodeJS
PHP
Java
MySQL
Express
More »
开关
GNU Fortran 7 官方文档
1. Introduction
1. Introduction
1.1. About GNU Fortran
1.2. GNU Fortran and GCC
1.3. Preprocessing and conditional compilation
1.4. GNU Fortran and G77
1.5. Project Status
1.6. Standards
1.6.1. Varying Length Character Strings
2. Command Options
2. GNU Fortran Command Options
2.1. Option summary
2.2. Options controlling Fortran dialect
2.3. Enable and customize preprocessing
2.4. Options to request or suppress errors and warnings
2.5. Options for debugging your program or GNU Fortran
2.6. Options for directory search
2.7. Influencing the linking step
2.8. Influencing runtime behavior
2.9. Options for code generation conventions
2.10. Environment variables affecting gfortran
3. Runtime
3. Runtime: Influencing runtime behavior with environment variables
3.1. TMPDIR
3.2. GFORTRAN_STDIN_UNIT
3.3. GFORTRAN_STDOUT_UNIT
3.4. GFORTRAN_STDERR_UNIT
3.5. GFORTRAN_UNBUFFERED_ALL
3.6. GFORTRAN_UNBUFFERED_PRECONNECTED
3.7. GFORTRAN_SHOW_LOCUS
3.8. GFORTRAN_OPTIONAL_PLUS
3.9. GFORTRAN_DEFAULT_RECL
3.10. GFORTRAN_LIST_SEPARATOR
3.11. GFORTRAN_CONVERT_UNIT
3.12. GFORTRAN_ERROR_BACKTRACE
4. Fortran 2003 and 2008 Status
4. Fortran 2003 and 2008 Status
4.1. Fortran 2003 status
4.2. Fortran 2008 status
4.3. Technical Specification 29113 Status
4.4. Technical Specification 18508 Status
5. Compiler Characteristics
5. Compiler Characteristics
5.1. KIND Type Parameters
5.2. Internal representation of LOGICAL variables
5.3. Thread-safety of the runtime library
5.4. Data consistency and durability
5.5. Files opened without an explicit ACTION= specifier
5.6. File operations on symbolic links
6. Extensions
6. Extensions
6.1. Extensions implemented in GNU Fortran
6.1.1. Old-style kind specifications
6.1.2. Old-style variable initialization
6.1.3. Extensions to namelist
6.1.4. X format descriptor without count field
6.1.5. Commas in FORMAT specifications
6.1.6. Missing period in FORMAT specifications
6.1.7. I/O item lists
6.1.8. Q exponent-letter
6.1.9. BOZ literal constants
6.1.10. Real array indices
6.1.11. Unary operators
6.1.12. Implicitly convert LOGICAL and INTEGER values
6.1.13. Hollerith constants support
6.1.14. Cray pointers
6.1.15. CONVERT specifier
6.1.16. OpenMP
6.1.17. OpenACC
6.1.18. Argument list functions %VAL, %REF and %LOC
6.1.19. Read/Write after EOF marker
6.1.20. STRUCTURE and RECORD
6.1.21. UNION and MAP
6.1.22. Type variants for integer intrinsics
6.1.23. AUTOMATIC and STATIC attributes
6.1.24. Extended math intrinsics
6.1.25. Form feed as whitespace
6.1.26. TYPE as an alias for PRINT
6.1.27. %LOC as an rvalue
6.1.28. .XOR. operator
6.1.29. Bitwise logical operators
6.1.30. Extended I/O specifiers
6.1.31. Legacy PARAMETER statements
6.1.32. Default exponents
6.2. Extensions not implemented in GNU Fortran
6.2.1. ENCODE and DECODE statements
6.2.2. Variable FORMAT expressions
6.2.3. Alternate complex function syntax
6.2.4. Volatile COMMON blocks
6.2.5. OPEN( ... NAME=)
7. Mixed-Language Programming
7. Mixed-Language Programming
7.1. Interoperability with C
7.1.1. Intrinsic Types
7.1.2. Derived Types and struct
7.1.3. Interoperable Global Variables
7.1.4. Interoperable Subroutines and Functions
7.1.5. Working with Pointers
7.1.6. Further Interoperability of Fortran with C
7.2. GNU Fortran Compiler Directives
7.3. Non-Fortran Main Program
7.3.1. _gfortran_set_args
7.3.2. _gfortran_set_options
7.3.3. _gfortran_set_convert
7.3.4. _gfortran_set_record_marker
7.3.5. _gfortran_set_fpe
7.3.6. _gfortran_set_max_subrecord_length
7.4. Naming and argument-passing conventions
7.4.1. Naming conventions
7.4.2. Argument passing conventions
8. Coarray Programming
8. Coarray Programming
8.1. Type and enum ABI Documentation
8.1.1. caf_token_t
8.1.2. caf_register_t
8.1.3. caf_deregister_t
8.1.4. caf_reference_t
8.1.5. caf_team_t
8.2. Function ABI Documentation
8.2.1. _gfortran_caf_init
8.2.2. _gfortran_caf_finish
8.2.3. _gfortran_caf_this_image
8.2.4. _gfortran_caf_num_images
8.2.5. _gfortran_caf_image_status
8.2.6. _gfortran_caf_failed_images
8.2.7. _gfortran_caf_stopped_images
8.2.8. _gfortran_caf_register
8.2.9. _gfortran_caf_deregister
8.2.10. _gfortran_caf_is_present
8.2.11. _gfortran_caf_send
8.2.12. _gfortran_caf_get
8.2.13. _gfortran_caf_sendget
8.2.14. _gfortran_caf_send_by_ref
8.2.15. _gfortran_caf_get_by_ref
8.2.16. _gfortran_caf_sendget_by_ref
8.2.17. _gfortran_caf_lock
8.2.18. _gfortran_caf_lock
8.2.19. _gfortran_caf_event_post
8.2.20. _gfortran_caf_event_wait
8.2.21. _gfortran_caf_event_query
8.2.22. _gfortran_caf_sync_all
8.2.23. _gfortran_caf_sync_images
8.2.24. _gfortran_caf_sync_memory
8.2.25. _gfortran_caf_error_stop
8.2.26. _gfortran_caf_error_stop_str
8.2.27. _gfortran_caf_fail_image
8.2.28. _gfortran_caf_atomic_define
8.2.29. _gfortran_caf_atomic_ref
8.2.30. _gfortran_caf_atomic_cas
8.2.31. _gfortran_caf_atomic_op
8.2.32. _gfortran_caf_co_broadcast
8.2.33. _gfortran_caf_co_max
8.2.34. _gfortran_caf_co_min
8.2.35. _gfortran_caf_co_sum
8.2.36. _gfortran_caf_co_reduce
9. Intrinsic Procedures
9. Intrinsic Procedures
9.1. Introduction to intrinsic procedures
9.2. ABORT
9.3. ABS
9.4. ACCESS
9.5. ACHAR
9.6. ACOS
9.7. ACOSD
9.8. ACOSH
9.9. ADJUSTL
9.10. ADJUSTR
9.11. AIMAG
9.12. AINT
9.13. ALARM
9.14. ALL
9.15. ALLOCATED
9.16. AND
9.17. ANINT
9.18. ANY
9.19. ASIN
9.20. ASIND
9.21. ASINH
9.22. ASSOCIATED
9.23. ATAN
9.24. ATAND
9.25. ATAN2
9.26. ATAN2D
9.27. ATANH
9.28. ATOMIC_ADD
9.29. ATOMIC_AND
9.30. ATOMIC_CAS
9.31. ATOMIC_DEFINE
9.32. ATOMIC_FETCH_ADD
9.33. ATOMIC_FETCH_AND
9.34. ATOMIC_FETCH_OR
9.35. ATOMIC_FETCH_XOR
9.36. ATOMIC_OR
9.37. ATOMIC_REF
9.38. ATOMIC_XOR
9.39. BACKTRACE
9.40. BESSEL_J0
9.41. BESSEL_J1
9.42. BESSEL_JN
9.43. BESSEL_Y0
9.44. BESSEL_Y1
9.45. BESSEL_YN
9.46. BGE
9.47. BGT
9.48. BIT_SIZE
9.49. BLE
9.50. BLT
9.51. BTEST
9.52. C_ASSOCIATED
9.53. C_F_POINTER
9.54. C_F_PROCPOINTER
9.55. C_FUNLOC
9.56. C_LOC
9.57. C_SIZEOF
9.58. CEILING
9.59. CHAR
9.60. CHDIR
9.61. CHMOD
9.62. CMPLX
9.63. CO_BROADCAST
9.64. CO_MAX
9.65. CO_MIN
9.66. CO_REDUCE
9.67. CO_SUM
9.68. COMMAND_ARGUMENT_COUNT
9.69. COMPILER_OPTIONS
9.70. COMPILER_VERSION
9.71. COMPLEX
9.72. CONJG
9.73. COS
9.74. COSD
9.75. COSH
9.76. COTAN
9.77. COTAND
9.78. COUNT
9.79. CPU_TIME
9.80. CSHIFT
9.81. CTIME
9.82. DATE_AND_TIME
9.83. DBLE
9.84. DCMPLX
9.85. DIGITS
9.86. DIM
9.87. DOT_PRODUCT
9.88. DPROD
9.89. DREAL
9.90. DSHIFTL
9.91. DSHIFTR
9.92. DTIME
9.93. EOSHIFT
9.94. EPSILON
9.95. ERF
9.96. ERFC
9.97. ERFC_SCALED
9.98. ETIME
9.99. EVENT_QUERY
9.100. EXECUTE_COMMAND_LINE
9.101. EXIT
9.102. EXP
9.103. EXPONENT
9.104. EXTENDS_TYPE_OF
9.105. FDATE
9.106. FGET
9.107. FGETC
9.108. FLOOR
9.109. FLUSH
9.110. FNUM
9.111. FPUT
9.112. FPUTC
9.113. FRACTION
9.114. FREE
9.115. FSEEK
9.116. FSTAT
9.117. FTELL
9.118. GAMMA
9.119. GERROR
9.120. GETARG
9.121. GET_COMMAND
9.122. GET_COMMAND_ARGUMENT
9.123. GETCWD
9.124. GETENV
9.125. GET_ENVIRONMENT_VARIABLE
9.126. GETGID
9.127. GETLOG
9.128. GETPID
9.129. GETUID
9.130. GMTIME
9.131. HOSTNM
9.132. HUGE
9.133. HYPOT
9.134. IACHAR
9.135. IALL
9.136. IAND
9.137. IANY
9.138. IARGC
9.139. IBCLR
9.140. IBITS
9.141. IBSET
9.142. ICHAR
9.143. IDATE
9.144. IEOR
9.145. IERRNO
9.146. IMAGE_INDEX
9.147. INDEX
9.148. INT
9.149. INT2
9.150. INT8
9.151. IOR
9.152. IPARITY
9.153. IRAND
9.154. IS_IOSTAT_END
9.155. IS_IOSTAT_EOR
9.156. ISATTY
9.157. ISHFT
9.158. ISHFTC
9.159. ISNAN
9.160. ITIME
9.161. KILL
9.162. KIND
9.163. LBOUND
9.164. LCOBOUND
9.165. LEADZ
9.166. LEN
9.167. LEN_TRIM
9.168. LGE
9.169. LGT
9.170. LINK
9.171. LLE
9.172. LLT
9.173. LNBLNK
9.174. LOC
9.175. LOG
9.176. LOG10
9.177. LOG_GAMMA
9.178. LOGICAL
9.179. LONG
9.180. LSHIFT
9.181. LSTAT
9.182. LTIME
9.183. MALLOC
9.184. MASKL
9.185. MASKR
9.186. MATMUL
9.187. MAX
9.188. MAXEXPONENT
9.189. MAXLOC
9.190. MAXVAL
9.191. MCLOCK
9.192. MCLOCK8
9.193. MERGE
9.194. MERGE_BITS
9.195. MIN
9.196. MINEXPONENT
9.197. MINLOC
9.198. MINVAL
9.199. MOD
9.200. MODULO
9.201. MOVE_ALLOC
9.202. MVBITS
9.203. NEAREST
9.204. NEW_LINE
9.205. NINT
9.206. NORM2
9.207. NOT
9.208. NULL
9.209. NUM_IMAGES
9.210. OR
9.211. PACK
9.212. PARITY
9.213. PERROR
9.214. POPCNT
9.215. POPPAR
9.216. PRECISION
9.217. PRESENT
9.218. PRODUCT
9.219. RADIX
9.220. RAN
9.221. RAND
9.222. RANDOM_NUMBER
9.223. RANDOM_SEED
9.224. RANGE
9.225. RANK
9.226. REAL
9.227. RENAME
9.228. REPEAT
9.229. RESHAPE
9.230. RRSPACING
9.231. RSHIFT
9.232. SAME_TYPE_AS
9.233. SCALE
9.234. SCAN
9.235. SECNDS
9.236. SECOND
9.237. SELECTED_CHAR_KIND
9.238. SELECTED_INT_KIND
9.239. SELECTED_REAL_KIND
9.240. SET_EXPONENT
9.241. SHAPE
9.242. SHIFTA
9.243. SHIFTL
9.244. SHIFTR
9.245. SIGN
9.246. SIGNAL
9.247. SIN
9.248. SIND
9.249. SINH
9.250. SIZE
9.251. SIZEOF
9.252. SLEEP
9.253. SPACING
9.254. SPREAD
9.255. SQRT
9.256. SRAND
9.257. STAT
9.258. STORAGE_SIZE
9.259. SUM
9.260. SYMLNK
9.261. SYSTEM
9.262. SYSTEM_CLOCK
9.263. TAN
9.264. TAND
9.265. TANH
9.266. THIS_IMAGE
9.267. TIME
9.268. TIME8
9.269. TINY
9.270. TRAILZ
9.271. TRANSFER
9.272. TRANSPOSE
9.273. TRIM
9.274. TTYNAM
9.275. UBOUND
9.276. UCOBOUND
9.277. UMASK
9.278. UNLINK
9.279. UNPACK
9.280. VERIFY
9.281. XOR
10. Intrinsic Modules
10. Intrinsic Modules
10.1. ISO_FORTRAN_ENV
10.2. ISO_C_BINDING
10.3. IEEE modules: IEEE_EXCEPTIONS, IEEE_ARITHMETIC, and IEEE_FEATURES
10.4. OpenMP Modules OMP_LIB and OMP_LIB_KINDS
10.5. OpenACC Module OPENACC
Index
index