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,dd2096591176a662 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Help with fixed types...insufficient model numbers? Date: 1997/04/02 Message-ID: #1/1 X-Deja-AN: 230129784 References: <5hrdic$sr@hacgate2.hac.com> <3341605F.167EB0E7@ti.com> Organization: New York University Newsgroups: comp.lang.ada Date: 1997-04-02T00:00:00+00:00 List-Id: John said <,First, verify that your compiler really allows you to specify a type'SMALL that is not a power of two -- some (i.e. mine) will not.>> I am surprised that there are compilers that are that limited for fixed point, but in any case no "verification" is required. It is true that a compiler may reject small's that are not powers of 2, but it is MANDATORY that they do this at compile time, treating the offending declarations as illegal. A compiler that silently ignord small specifications would be non-conforming (and I would consider that a pretty serious bug!)