Document: CNVRT Purpose: Describes the data conversion routines. Category: SYSTEM File: cnvrt.c Author: K.G. Begeman Description: The following routines for data conversion are available: SUBROUTINE CNVRTC one byte character conversion SUBROUTINE CNVRTH two byte integer conversion SUBROUTINE CNVRTF four byte integer conversion SUBROUTINE CNVRTE single precision f.p. conversion SUBROUTINE CNVRTD double precision f.p. conversion Each routine is described in more detail in the accompanying document. These routines convert foreign data to the format for the current machine. The routines are setup so that conversions of any type of foreign data from the same foreign machine can be specified with the same foreign type. Data from VMS machines are specified with type = 1, data from ALLIANT, SUN, CONVEX (UNIX machines) with type = 2, data from IBM machines with type = 3, data from MSDOS PC's and DECstations with type 4 and data from CONVEXs with type 5. Warnings: Machine dependent! Currently implemented for VMS, SUN, CONVEX, ALLIANT, HP 9000 and MSDOS PC's. Updates: Jul 14, 1989: KGB, document created.