From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ffdd4d59cbfb4caf X-Google-Attributes: gid103376,public From: bobduff@world.std.com (Robert A Duff) Subject: Re: Ada 95 Numerics questions for the experts Date: 1997/09/09 Message-ID: #1/1 X-Deja-AN: 271008924 References: Organization: The World Public Access UNIX, Brookline, MA Newsgroups: comp.lang.ada Date: 1997-09-09T00:00:00+00:00 List-Id: In article , Matthew Heaney wrote: >So, Bob Duff, writer of the RM, answer yes or no: is pragma Pack required >in the example above, in order to guarantee that the component size really >is 3? First define what you mean by "the component size really is 3", and then I'll answer the question. ;-) (I'm not sure how I got promoted from RM co-author to RM author.) By the way, note that the PDP-10 had hardware support for the 10 3-bit components per 33-bit word, with a 2-bit gap at the end of each word, and it would make no sense to do tighter packing on that machine. (Well, it was actually a 36-bit word, but you know what I mean -- something like 5 7-bit components per 36-bit word, with a 1-bit gap, which was the only sensible representation of Ada 83's String type. Note that String has a pragma Pack.) - Bob