Some additional built-in functions, which do not match the standard
Fortran 77 set, are also defined.
At present these simply comprise the VAX Fortran extensions to this
set (Table ).
They are also generic but do not support integer arithmetic.
Table:
Additional built-in functions; angular arguments/results are in
degrees.
None of these functions supports integer arithmetic.
Function
Number of
arguments
Description
SIND
1
sine function:
COSD
1
cosine function:
TAND
1
tangent function:
ASIND
1
inverse sine function:
ACOSD
1
inverse cosine function:
ATAND
1
inverse tangent function:
ATAN2D
2
VAX Fortran ATAN2D (inverse tangent) function
In addition, the following non-standard functions are provided:
IDV
- Performs integer division.
It has two arguments. The function value is formed by taking the integer
part of the two arguments, dividing them, and then returning the integer
part of the result.
QIF
- Has three arguments. It returns the value of its second argument
if its first argument is non-zero (i.e. ``true''), and returns the value of
its third argument otherwise. It can be used like the ``?'' operator in the C
programming language.