Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Intrinsic Functions and Additional Procedures
◄Up► ◄Contents► ◄Index► ◄Back►
─────Intrinsic Functions────────────────────────────────────────────────────
Intrinsic functions are predefined by the Microsoft FORTRAN
language. These functions carry out data-type conversions and
return information about data types, perform operations on both
numeric and character data, test for end-of-file, return
addresses, and perform bit manipulation.
Each function returns a value of integer, real, complex, logical,
or character, and therefore has a corresponding data type. Some
intrinsic functions can take arguments of more than one type.
Others can return a value that has the same type as the argument.
If you supply an argument that has no mathematically defined
result or for which the result exceeds the numeric range of the
processor, the result of the intrinsic function is undefined.
When logarithmic and trigonometric intrinsic functions act on a
complex argument, they return the "principal value." The principal
value of a complex number is the number whose argument (angle in
radians) is less than or equal to pi and greater than -pi.
When the results of generic integer intrinsic functions are passed
to subprograms, the $STORAGE setting determines the data type of
the value to be passed.
WARNING: Microsoft FORTRAN contains several intrinsic
functions whose names are longer than six characters (ALLOCATED,
EPSILON, LEN_TRIM, LOCNEAR, MAXEXPONENT, MINEXPONENT, NEAREST,
PRECISION). If the $TRUNCATEfo metacommand is enabled, the compiler
considers any function name with the same first six characters to
be one of these intrinsic functions.
See Also: ◄Alphabetical List of Intrinsic Functions►
-♦-