Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (N)
Guardian Procedure Calls Reference Manual—522629-013
10-51
NSK_FLOAT_TNS32_TO_IEEE32_ Procedure
NSK_FLOAT_TNS32_TO_IEEE64_ Procedure
The following is a list of the error bits that can be set by at least one of the three
TNS_TO_IEEE conversion procedures:
The following indicates which procedures can produce which errors:
For NSK_FLOAT_TNS32_TO_IEEE32_
TNS_Data input
INT .ext:ref NSK_float_tns32
The 32-bit TNS floating-point number.
IEEE_Data output
INT .ext:ref NSK_float_ieee32
The 32-bit IEEE floating-point number
For NSK_FLOAT_TNS32_TO_IEEE64_
TNS_Data input
INT .ext:ref NSK_float_tns32
The 32-bit TNS floating-point number.
IEEE_Data output
INT .ext:ref NSK_float_ieee64
The 64-bit IEEE floating-point number
For NSK_FLOAT_TNS64_TO_IEEE64_
TNS_Data input
INT .ext:ref NSK_float_tns64
NSK_FLOAT_IEEE_OVERFLOW The input was out of range (too big in
magnitude), and the result was an IEEE
infinity. The sign of the result matched the
sign of the input.
NSK_FLOAT_IEEE_UNDERFLOW The input was out of range (too small in
magnitude) and could not be represented
exactly, even as a denormalized number.
NSK_FLOAT_IEEE_INEXACT The result did not exactly match the input.
Conversion Overflow Underflow Inexact
TNS64 to IEEE64 NO NO YES
TNS32 to IEEE64 NO NO NO
TNS32 to IEEE32 YES YES YES