Floating-point encoding
The following values are valid for the floating-point encoding:
- MQENC_FLOAT_UNDEFINED
- Floating-point numbers are represented using an encoding that is undefined.
- MQENC_FLOAT_IEEE_NORMAL
- Floating-point numbers are represented using the standard IEEE3 floating-point format,
with the bytes arranged as follows:
- The least significant byte in the mantissa has the highest address of
any of the bytes in the number; the byte containing the exponent has the lowest
address
- The least significant bit in each byte is adjacent to the byte with the
next higher address; the most significant bit in each byte is adjacent to
the byte with the next lower address
Details of the IEEE float encoding can be found in IEEE Standard
754.
- MQENC_FLOAT_IEEE_REVERSED
- Floating-point numbers are represented in the same way as MQENC_FLOAT_IEEE_NORMAL,
but with the bytes arranged in reverse order. The bits within each byte are
arranged in the same way as MQENC_FLOAT_IEEE_NORMAL.
- MQENC_FLOAT_S390
- Floating-point numbers are represented using the standard System/390(R) floating-point
format; this is also used by System/370(TM).
The
Institute of Electrical and Electronics Engineers