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 autolearn=ham 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!news1.google.com!news.glorb.com!news.netfront.net!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: Question about ordinary fixed point types. Date: Sun, 15 Aug 2010 21:13:22 -0700 Organization: Netfront http://www.netfront.net/ Message-ID: References: <4c685fac$0$2373$4d3efbfe@news.sover.net> <4c688a68$0$2376$4d3efbfe@news.sover.net> NNTP-Posting-Host: 75.211.52.183 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: adenine.netfront.net 1281932004 79803 75.211.52.183 (16 Aug 2010 04:13:24 GMT) X-Complaints-To: news@netfront.net NNTP-Posting-Date: Mon, 16 Aug 2010 04:13:24 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6 In-Reply-To: <4c688a68$0$2376$4d3efbfe@news.sover.net> Xref: g2news1.google.com comp.lang.ada:13380 Date: 2010-08-15T21:13:22-07:00 List-Id: On 08/15/2010 05:46 PM, Peter C. Chapin wrote: > > Probably I should use extra digits in the definition of the range to > communicate my intentions to the compiler more precisely. Thus > > type Angle_Type is delta 0.0005 range -3.1415926535 .. 3.1415926535; Why not use Ada.Numerics.Pi? -- Jeff Carter "Son of a window-dresser." Monty Python & the Holy Grail 12 --- news://freenews.netfront.net/ - complaints: news@netfront.net ---