List of Additional Intrinsic Functions

To understand the tabular list of additional intrinsic functions that follows after these notes, take into consideration the following:

Additional Intrinsic Functions

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*16
doubl
complex*32

real
real*16
double
complex*32

 

 

 

DFLOAT

 

 

1

integer*2
integer*4
integer*8

real*8
real*8
real*8

 

 
 
 
 

Conversion to double complexSee Note 2

 
 
 
 
 
 

DCMPLX

 

 
 
 
 
 
 

1 or 2

integer*2
integer*4
integer*8
real*4
real*8
real*16
real*16
complex*8
complex*16
complex*32
complex*32

complex*16
complex*16
complex*16
complex*16
complex*16
complex*16
complex*16
complex*16
complex*16
complex*16
complex*32

 
 

Absolute value

 
 
 

|x|

 
 
 

ABS

ZABS
CDABS
TABS
DABS
QABS

 
 
 

1

dcomplex
dcomple
x
real
double
real*16
complex*32

double
double
real
double
real*16
complex*32

Imaginary part of a complex argument

 
 

xi

 
 

IMAG

DIMAG
CDIMAG
TIMAG
QIMAG
 
 

1

dcomplex
dcomplex

real
real*16
complex*32

double
double
real
real*16
complex*32

SQRT of a complex argument

 
 

(xr, -xi)

 
 

CONJG

DCONJ
GTCONJ
DCONJ
QCONJ

 
 

1

dcomplex
real
double
complex*32

double
real
double
complex*32

 

Square root  

 
 

Ðx

 
 

SQRT

ZSQRT
SQRT
TSQRT
DSQRT

 
 

1

dcomplex
dcomplex

real
real*16

dcomplex
dcomplex

real
real*16

 
 

Exponential

 
 

ex

 
 

EXP

ZEXP
CDEX
TEXP
QEXP
DEXP

 
 

1

dcomplex
dcomplex

real
double
real*16
double

dcomplex
dcomplex

real
double
complex*32
double

 

Natural Logarithm  

 
 

loge(x)

 
 

LOG

ZLOG
CDLOG
DLOG
QLOG

 
 

1

dcomplex
dcomplex

real*16
real*16
complex*32

dcomplex
dcomplex

double
real*16
complex*32

Bitwise
Operation  

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
double
real*16
real*16
complex*32

integer
integer
integer
integer
complex*32

 

Number of Significant Bits

 

 
 

EPPREC

 
 

1

real
double
real*16
real*16
complex*32

integer
integer
integer
integer
integer

 

 
 

Minimum Exponent

 

 
 

EPEMIN

 
 

1

real
double
real*16
real*16
complex*32

integer
integer
integer
integer
integer

 

 

Maximum Exponent

 

 
 

EPEMAX

 
 

1

real
double
real*16
real*16
complex*32

integer
integer
integer
integer
integer

 

 
 

Smallest non-zero number

 

 
 

EPTINY

 
 

1

real
double
real*16
double
complex*32

real
double
real*16
double
double

 

 
 

Largest Number Representable

 

 
 

EPHUGE

 
 

1

integer
real
double
real*16
double
complex*32

integer
real
double
real*16
double
double

 

 
 

Epsilon

 

 
 

EPMRSP

 
 

1

real
double
real*16
double
complex*32

real
double
real*16
double
complex*32

Location See Note 3  

Address of

LOC

 

1

any

integer

 

Sine  

 

 

sin(x)

 

SIN
SIND

ZSIN
SIND
DSIND
QSIND

 
 

1

dcomplex
real*16
double
real*16
complex*32

dcomplex
real*16
double
real*16
complex*32

 
 

Cosine

 
 

cos(x)

 
 

COS
COSD

ZCOS
CDCOS
COSD
DCOSD
QCOSD

 
 

1

dcomplex
dcomplex

real
double
real*16
complex*32

dcomplex
dcomplex

real
double
real*16
complex*32

 

Tangent  

 

 

tan(x)

 

TAND

TAND
DTAND
QTAND

 
 

1

real
double
real*16
complex*32

real
double
real*16
complex*32

 

Arcsine  

 

arcsin(x)

 

ASIND

ASIND
DASIND
QASIND

 

1

real
double
real*16
complex*32

real
double
real*16
complex*32

 
 

Arc-cosine

 

 
 

ACOSD

ACOSD
QCOSD
DACOSD
QACOSD

 
 

1

real
complex*32
double
real*16
complex*32

real
complex*32
double
real*16
complex*32

 

Arctangent

 

arctan(x)

 

ATAND

ATAND
DATAND
QATAND

 

1

real
double
real*16
complex*32

real
double
real*16
complex*32

 

 
 

arctan(x1-x2)

 
 

ATAN2D

ATAN2D
DATAN2D
XATAN2D
QATAN2D

 
 

2222

real
double
real*16
real*16
complex*32

real
double
real*16
real*16
complex*32