To understand the tabular list of additional intrinsic functions that follows after these notes, take into consideration the following:
Specific names are only included in the Additional Intrinsic Functions table if they are not part of standard Fortran.
An intrinsic that takes an integer argument accepts either INTEGER(KIND=2) or INTEGER(KIND=4) or INTEGER(KIND=8).
The abbreviation "double" stands for DOUBLE PRECISION.
The abbreviation "dcomplex" stands for DOUBLE COMPLEX. Dcomplex type is an Intel® Fortran extension, as are all intrinsic functions taking dcomplex arguments or returning dcomplex results.
If an intrinsic function has more than one argument, then they must all be of the same type.
If a function name is used as an actual argument, then it must be a specific name, not a generic name.
If a function name is used as a dummy argument, then it does not identify an intrinsic function in the subprogram, but has a data type according to the normal rules for variables and arrays.
Intrinsic Function |
Definition |
Generic Name |
Specific Name |
No of Args |
Type of Args |
Type of Function |
Type conversion |
Conversion to double precision See Note 1 |
DREAL |
|
1 |
real |
real |
|
|
DFLOAT |
|
1 |
integer*2 |
real*8 |
|
Conversion to double complexSee Note 2 |
DCMPLX |
|
1 or 2 |
integer*2 |
complex*16 |
Absolute value |
|x| |
ABS |
ZABS |
1 |
dcomplex |
double |
Imaginary part of a complex argument |
xi |
IMAG |
DIMAG |
1 |
dcomplex |
double |
SQRT of a complex argument |
(xr, -xi) |
CONJG |
DCONJ |
1 |
dcomplex real double complex*32 |
double |
Square root |
Ðx |
SQRT |
ZSQRT |
1 |
dcomplex |
dcomplex |
Exponential |
ex |
EXP |
ZEXP |
1 |
dcomplex |
dcomplex |
Natural Logarithm |
loge(x) |
LOG |
ZLOG |
1 |
dcomplex |
dcomplex |
Bitwise |
AND |
|
AND |
2 |
integer |
integer |
See Note 1 |
OR |
|
OR |
2 |
integer |
integer |
|
Exclusive OR |
|
XOR |
2 |
integer |
integer |
|
Shift left: x1 logically shifted left x2 bits.x2 must be > 0 |
|
LSHIFT |
2 |
integer |
integer |
|
Shift right: x1 logically shifted right x2 bits.x2 must be > 0 |
|
RSHIFT |
2 |
integer |
integer |
Environ-mental Inquiries. See Note 1 |
Base of number systems |
|
EPBASE |
1 |
real |
integer |
|
Number of Significant Bits |
|
EPPREC |
1 |
real |
integer |
|
Minimum Exponent |
|
EPEMIN |
1 |
real |
integer |
|
Maximum Exponent |
|
EPEMAX |
1 |
real |
integer |
|
Smallest non-zero number |
|
EPTINY |
1 |
real |
real |
|
Largest Number Representable |
|
EPHUGE |
1 |
integer |
integer |
|
Epsilon |
|
EPMRSP |
1 |
real |
real |
Location See Note 3 |
Address of |
LOC |
|
1 |
any |
integer |
Sine
|
sin(x) |
SIN |
ZSIN |
1 |
dcomplex |
dcomplex |
Cosine |
cos(x) |
COS |
ZCOS |
1 |
dcomplex |
dcomplex |
Tangent
|
tan(x) |
TAND |
TAND |
1 |
real |
real |
Arcsine |
arcsin(x) |
ASIND |
ASIND |
1 |
real |
real |
Arc-cosine |
|
ACOSD |
ACOSD |
1 |
real |
real |
Arctangent |
arctan(x) |
ATAND |
ATAND |
1 |
real |
real |
|
arctan(x1-x2) |
ATAN2D |
ATAN2D |
2222 |
real |
real |