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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,3897c688f0b1f34c X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.224.88.200 with SMTP id b8mr30580469qam.8.1366987602901; Fri, 26 Apr 2013 07:46:42 -0700 (PDT) X-Received: by 10.50.196.227 with SMTP id ip3mr352912igc.10.1366987602599; Fri, 26 Apr 2013 07:46:42 -0700 (PDT) Path: ef9ni16888qab.0!nntp.google.com!gp5no7206923qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 26 Apr 2013 07:46:42 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=69.20.190.126; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC NNTP-Posting-Host: 69.20.190.126 References: <09e7fbc6-ea75-4660-8ece-25c5b096afd5@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <24988143-cde0-47c6-b4dc-e9e259ea7030@googlegroups.com> Subject: Re: Ada202X : alternate syntax for ranged scalars From: Shark8 Injection-Date: Fri, 26 Apr 2013 14:46:42 +0000 Content-Type: text/plain; charset=ISO-8859-1 Date: 2013-04-26T07:46:42-07:00 List-Id: On Friday, April 26, 2013 6:53:26 AM UTC-6, AdaMagica wrote: > On Friday, April 26, 2013 12:10:01 PM UTC+2, Martin wrote: > > > > Sometimes we would like to specify a 'half open range', e.g. values of degree from 0.0 up to BUT NOT INCLUDING 360.0. > > What about the attributes Succ and Pred RM 3.5 (22-27)? > > type Angle is digits D; > subtype Normalized_Angle is Angle range -180.0 .. Angle'Pred (+180.0); Yes, that should work much better.