next up previous contents
Next: Applicability & Efficiency
Up: PRIMDAT Processing of Primitive Numerical Data
Previous: The STATUS Argument

THE VAL_ FUNCTIONS

The VAL_ functions are a set of Fortran functions which perform arithmetic, mathematical operations and type conversion on single (scalar) values stored using any numerical data type. These functions will handle numerical errors which occur during their evaluation (such as division by zero or overflow) and can also recognise and propagate the standard Starlink bad values.

They are normally invoked by statements of the form:

  RESULT = VAL_$<$name$>$( BAD, ARG, STATUS )
or RESULT = VAL_$<$name$>$( BAD, ARG1, ARG2, STATUS )

where $<$name$>$ specifies the operation to be performed and:



Subsections

next up previous contents
Next: Applicability & Efficiency
Up: PRIMDAT Processing of Primitive Numerical Data
Previous: The STATUS Argument

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