Imported from previous forum
Hi,
Consider the following decimal field:
If the pmap bit for exponent is not set, Should we consider the presence of exponent in the message? According to section 6.3.4, it should be considered. Am I correct?
Hi Faltu,
no, the exponent doesn’t appear in the stream if the pmap bit is not set. The mantissa will appear however.
Your template entry:
may be described by the following pseudo-code:
if (the pmap bit is not set) [section 6.3.4]
{
the exponent will be -2
the mantissa will appear in the stream.
}
else // (the pmap bit is set)
{
the exponent will appear in the stream.
if (the exponent is null) [section 10.5.1]
{
the mantissa will not appear in the stream,
the field is considered to be absent.
}
else // the exponent is present and non-null
{
the mantissa will appear in the stream.
the field is considered to be present.
}
}
HTH,
Rolf
Hi,
Consider the following decimal field:
If the pmap bit for exponent is not set, Should we consider the
presence of exponent in the message? According to section 6.3.4,
it should be considered. Am I correct?