next up previous contents
Next: The VAL, VEC and NUM Facilities
Up: PRIMDAT Processing of Primitive Numerical Data
Previous: Contents

INTRODUCTION

This document describes version 1.0 of the PRIMDAT package, which is a collection of Fortran functions and subroutines providing support for ``primitive data processing''. Routines from this package may be used to perform arithmetic, mathematical operations, type conversion and inter-comparison of any of the primitive numerical data types supported by the Starlink Hierarchical Data System HDS (SUN/92).

It provides:

Note that only the numerical HDS data types (_BYTE, _UBYTE, _WORD, _UWORD, _INTEGER, _REAL & _DOUBLE) are supported at present. There is currently no provision for the non-numerical _LOGICAL and _CHAR types, nor for any other Fortran (or VAX Fortran) types such as COMPLEX. The CHR facility should be used for processing character data and for converting between character and numerical data types.

Note added March 2004: This manual refers throughout to VAX floats. The package was ported to Unix in 1991, and accordingly most of the values now defined by it are those appropriate for IEEE floats instead; the manual has not been updated to match.


Subsections

next up previous contents
Next: The VAL, VEC and NUM Facilities
Up: PRIMDAT Processing of Primitive Numerical Data
Previous: Contents

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