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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,8d7393f07c06c5e9 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!z28g2000yqh.googlegroups.com!not-for-mail From: Mark Lorenzen Newsgroups: comp.lang.ada Subject: Re: Another question about fixed point types. Date: Mon, 30 Aug 2010 01:50:21 -0700 (PDT) Organization: http://groups.google.com Message-ID: <983b941b-5b57-45fa-922b-b075bd203199@z28g2000yqh.googlegroups.com> References: <4c7991c8$0$2375$4d3efbfe@news.sover.net> <62f49eaf-ed47-47c7-a13a-96ca5750b4e8@y11g2000yqm.googlegroups.com> <4c7a44d1$0$2390$4d3efbfe@news.sover.net> <4c7a6d04$0$2390$4d3efbfe@news.sover.net> <5bb7f0f6-b9f1-42ee-a092-44cc781618d0@f6g2000yqa.googlegroups.com> NNTP-Posting-Host: 193.163.1.105 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1283158221 30169 127.0.0.1 (30 Aug 2010 08:50:21 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 30 Aug 2010 08:50:21 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: z28g2000yqh.googlegroups.com; posting-host=193.163.1.105; posting-account=Srm5lQoAAAAEMX9rv2ilEKR6FDPapmSq User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; da; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:13839 Date: 2010-08-30T01:50:21-07:00 List-Id: On 29 Aug., 19:50, Phil Thornley wrote: > > You do have to get them right - OTOH it's always safe to use the > smallest possible range for the base type as it doesn't matter if you > prove the checks for a more restricted range. > It would be handy if the Examiner would insert safe default base type assertions just as it inserts default loop invariants. - Mark L