next up previous 229
Next: Classification Properties
Up: Built-in Functions
Previous: Standard functions.

Additional functions.

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: $\sin (\mbox{arg})$
COSD 1 cosine function: $\cos (\mbox{arg})$
TAND 1 tangent function: $\tan (\mbox{arg})$
ASIND 1 inverse sine function: $\sin ^{-1}(\mbox{arg})$
ACOSD 1 inverse cosine function: $\cos ^{-1}(\mbox{arg})$
ATAND 1 inverse tangent function: $\tan ^{-1}(\mbox{arg})$
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.



next up previous 229
Next: Classification Properties
Up: Built-in Functions
Previous: Standard functions.

TRANSFORM Coordinate Transformation Facility
Starlink User Note 61
R.F. Warren-Smith
12th January 2006
E-mail:starlink@jiscmail.ac.uk

Copyright © 2000 Council for the Central Laboratory of the Research Councils