Thread Links Date Links
Thread Prev Thread Next Thread Index Date Prev Date Next Date Index

Re: ... replacement for 14.4 and C6.2 (interchange encodings)



Vincent,

> >    Export and import of interchange formats normally occurs as a stream
> >    of octets (8-bit bytes), e.g. in a file or a network packet.  There
> >    is therefore a need to define the mapping of the conceptual Level 4
> >    bit strings (as specified by 754-2008) and of the small integers used
> >    to encode decorations (out of scope for 754-2008) into a sequence of
> >    octets.  There is also the fact that 754-2008 defines two distinct
> >    encodings of decimal formats, called BID and DPD.
>
> I don't think that you want to do that (convert bit strings),
> otherwise (inf,sup) could be reversed by the change of endianness
> on the bit string. The endianness should apply on words (thus this
> is a conversion from the Level 3 representation), not on the whole
> bit string.

The conversion of interval encoding doesn't not necessarily reversing entire octet sequence.
It reverses subsequence related to inf and subsequence related to sup.
I thought that usualy encoding of floating-point datum is reverted as a whole.
If this is not true and it is reverted by words, there is a word "mixed-endian"
later in the text.

  -Dima