With functions that work on more than one data item (e.g. sign(a1,a2) ), all the data arguments must be the same type.In the following tables, the FORTRAN 77 intrinsic functions are listed by: Intrinsic Function -description of what the function does Definition - a mathematical ...
Intrinsic Functions If an intrinsic functionappears in the actual argument listof an external function reference orCALLstatement, then itsspecific namemust be declared in anINTRINSICstatement. The following table outlines the generic forms of these functions.Cstands forCHARACTERdata,DforDOUBLE PRECISION,I...
各表及注释 1 至 12 以《ANSI X3.9-1978 Programming Language FORTRAN》中的“Table of Intrinsic Functions”为基础,并增加了 Fortran 扩展。 (1) INT 如果A 为整数类型,则 INT(A) 为A。 如果A 为实数或双精度类型: 如果|A| < 1,则 INT(A)为 0;如果 |A|≥ 1,则 INT(A) 是最大的整数,但是...
G77 MYTEST1.F This generates a file A.EXE, which can be executed simply using A The compiler...
However, FORTRAN 77 provides a number of intrinsic functions that permit alphabetical comparisons of two strings based on the ASCII code, regardless of which code the computer actually uses. A LOGICAL expression is defined when two numbers are compared using one of the relational operators. These ...
7.5CharacterIntrinsicFunctions... 7.6RelationalExpressions... 7.7LogicalExpressions... 7.8LogicalAssignmentStatements...8ControlStatements 8.1ControlStructures... 8.2IF-Blocks... 8.3DO-Loops...
There are a number of intrinsic functions that allows you to interrogate the size of numbers.For example, the bit_size(i) intrinsic function specifies the number of bits used for storage. For real numbers, the precision(x) intrinsic function, returns the number of decimal digits of precision,...
VAX intrinsic functions: Many are not supported in GNU FORTRAN and require the creation of an equivalent library written in "C". Return typeVAX FORTRAN intrinsic functionArgument type Integer*4 NINT(arg) JNINT(arg) Real*4 Integer*4 IDNINT(arg) JIDNINT(arg) Real*8 Integer*2 ININT(arg)...
The optional TEAM argument has been added to the intrinsic functions STOPPED_IMAGES, NUM_IMAGES, and IMAGE_STATUS. New forms of the intrinsic function IMAGE_INDEX and NUM_IMAGES allow optional TEAM and TEAM_NUMBER arguments have been implemented. ...
Method Tips—Fortran intrinsic functions are supported with method tips. When an opening parenthesis is entered in the source editor following an intrinsic name, a method tip pop-up is displayed that shows the data types of the arguments to the intrinsic function. If the intrinsic is a generic...