next up previous contents
Next: Applicability & Efficiency
Up: PRIMDAT Processing of Primitive Numerical Data
Previous: VEC_ Type Conversion Routines

THE NUM_ FUNCTIONS

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.


Subsections

next up previous contents
Next: Applicability & Efficiency
Up: PRIMDAT Processing of Primitive Numerical Data
Previous: VEC_ Type Conversion Routines

PRIMDAT --- Processing of Primitive Numerical Data
Starlink User Note 39
R F Warren-Smith
28 February 1995
E-mail:ussc@star.rl.ac.uk

Copyright © 2009 Science and Technology Facilities Council