How do I convert between IEEE and VAX floating data?
In OpenVMS V6.1 and later, the routine CVT$CONVERT_ FLOAT is documented in the LIB$ Run-Time Library Reference Manual, and can perform floating point conversions between any two of the following floating datatypes: VAX (F,D,G,H), little-endian IEEE (single, double, quad), big-endian IEEE (single, double, quad), CRAY and IBM System\370, etc. HP Fortran (all OpenVMS platforms) has a feature which will perform automatic conversion of unformatted data during input or output. See the HP Fortran documentation for information on “non-native data in I/O” and the CONVERT= OPEN statement keyword. There are floating-point conversion source code packages available for various platforms. 10-6 OpenVMS Programming Information For further floating-point related information, see: o http://www.hhs.dk/anonymous/pub/vms/collection/ieee.