The NUM_ functions perform arithmetic, mathematical operations, type conversion and inter-comparison on numbers, operating at a rather lower level than the VAL_ or VEC_ routines -- in fact many of these latter routines are currently implemented using the NUM facility.
At present, all the NUM_ routines are implemented as Fortran
statement functions whose definitions must be incorporated into an
application with appropriate INCLUDE statements
(section
).
They are normally invoked by statements of the form:
RESULT = NUM_name
( ARG )or RESULT = NUM_name
( ARG1, ARG2 )
where
name
specifies the operation to be performed and
ARG, ARG1 and ARG2 are input arguments.
PRIMDAT --- Processing of Primitive Numerical Data