|
ABSTRACT libvaxdata provides a collection of routines for converting numeric data - integer and floating-point - to and from the formats used on a Digital Equipment Corporation1 (DEC) VAX 32-bit minicomputer (Brunner, 1991). Since the VAX numeric data formats are inherited from those used on a DEC PDP-11 16-bit minicomputer, these routines can be used to convert PDP-11 data as well. VAX numeric data formats are also the default data formats used on DEC Alpha 64-bit minicomputers running OpenVMS. The libvaxdata routines are callable from Fortran or C. They require the caller uses two's-complement format for integer data and IEEE 754 format (ANSI/IEEE, 1985) for floating-point data. They also require the "natural" size of a C int type (integer) is 32 bits. That is the case for most modern 32-bit and 64-bit computer systems. Nevertheless, you may wish to consult the Fortran or C compiler documentation on your system to be sure. Some Fortran compilers support conversion of VAX numeric data on-the-fly when reading or writing unformatted files, either as a compiler option or a run-time I/O option. This feature may be easier to use than the libvaxdata routines. Consult the Fortran compiler documentation on your system to determine if this alternative is available to you.
|
Text of this report as an 11-page PDF file (of2005-1424.pdf; 232 KB)
Readme a 1-page ASCII file that describes the compressed files below (readme.txt; 56 KB)
Contents a 2-page ASCII file that gives the detailed contents of the compressed files below (contents.txt; 56 KB)
of2005-1424.sit the routines for all platforms compressed into a StuffIt file (352 KB)
of2005-1424.tgz the routines for all platforms compressed into a Tar and GZip file (232 KB)
of2005-1424.zip the routines for all platforms compressed into a Zip file (256 KB)
For questions about the content of this report, contact Larry Baker
| Help
| PDF help
| Publications main page | Open-File
Reports for 2005 |