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,65b3f028266fd999 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!i13g2000yqd.googlegroups.com!not-for-mail From: Shark8 Newsgroups: comp.lang.ada Subject: Re: Question about ordinary fixed point types. Date: Sun, 15 Aug 2010 14:55:35 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <4c685fac$0$2373$4d3efbfe@news.sover.net> NNTP-Posting-Host: 174.28.232.29 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1281909335 27182 127.0.0.1 (15 Aug 2010 21:55:35 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 15 Aug 2010 21:55:35 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: i13g2000yqd.googlegroups.com; posting-host=174.28.232.29; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729; .NET CLR 4.0.20506),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:13369 Date: 2010-08-15T14:55:35-07:00 List-Id: > type Angle_Type is delta 0.0005 range -3.1416 .. 3.1416; The first thing I see here is that 0.0005 doesn't evenly divide 2*3.1416; is that going to be a problem? {I haven't used fixed-point types yet; but that looks like something you'd generally want: an even division of (Type'Last-Type'First) into 'delta'.} So, will changing the delta to 0.0002, 0.0001, OR 0.00005 be doable/ convenient/preferable-if-possible?