HP 3000 Manuals

HP C/XL [ SORT-MERGE/XL Programmer's Guide ] MPE/iX 5.0 Documentation


SORT-MERGE/XL Programmer's Guide

HP C/XL 

          Table E-2.  HP C XL Equivalents of SORT-MERGE/XL Data Types 

-----------------------------------------------------------------------------------------------
|           |        SORT-MERGE/XL Data Type         |              C Equivalent              |
-----------------------------------------------------------------------------------------------
|     0     | Byte (character)                       | CHAR                                   |
|     1     | Twos Complement (integer):             |                                        |
|           | 2-byte (short integer)                 | SHORT                                  |
|           | 4-byte (integer)                       | INT, LONG                              |
|     2     | HP 3000 floating point:                |                                        |
|           | 4-byte (real)                          | FLOAT                                  |
|           | 8-byte (double precision)              | DOUBLE                                 |
|     3     | IEEE Standard floating point:          |                                        |
|           | 4-byte (real)                          | FLOAT                                  |
|           | 8-byte (double precision)              | DOUBLE                                 |
|    10     | Character                              | CHAR                                   |
-----------------------------------------------------------------------------------------------

Floating point data may be stored in HP 3000 or IEEE Standard format:

 *  IEEE Standard floating point data is the default MPE XL NM (Native
    Mode) floating point format.

 *  HP 3000 floating point data may also be created by explicit
    specification in NM. HP 3000 floating point data is the default in
    MPE XL CM (Compatibility Mode) or on an MPE V-based system.



MPE/iX 5.0 Documentation