comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Question about ordinary fixed point types.
Date: Sun, 15 Aug 2010 21:13:22 -0700
Date: 2010-08-15T21:13:22-07:00	[thread overview]
Message-ID: <i4adt3$2dtr$2@adenine.netfront.net> (raw)
In-Reply-To: <4c688a68$0$2376$4d3efbfe@news.sover.net>

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 ---



  reply	other threads:[~2010-08-16  4:13 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-15 21:43 Question about ordinary fixed point types Peter C. Chapin
2010-08-15 21:55 ` Shark8
2010-08-16  0:46   ` Peter C. Chapin
2010-08-16  4:13     ` Jeffrey Carter [this message]
2010-08-16  8:57       ` Simon Wright
2010-08-15 22:08 ` Yannick Duchêne (Hibou57)
2010-08-16  1:03   ` Peter C. Chapin
2010-08-16  4:11     ` Jeffrey Carter
2010-08-16 10:03       ` Ludovic Brenta
2010-08-17 14:35         ` sjw
2010-08-17 15:51           ` Ludovic Brenta
2010-08-16 11:31       ` Peter C. Chapin
2010-08-16  9:23     ` Simon Wright
2010-08-16 15:47       ` Simon Wright
2010-08-17 14:37       ` sjw
2010-08-16 11:02 ` Stephen Leake
2010-08-16 11:29   ` Peter C. Chapin
2010-08-16 12:53     ` Dmitry A. Kazakov
2010-08-16 20:28       ` Peter C. Chapin
2010-08-16 20:58         ` Adam Beneschan
2010-08-16 13:01     ` Dmitry A. Kazakov
2010-08-16 14:28     ` Robert A Duff
2010-08-16 20:31       ` Peter C. Chapin
2010-08-16 23:01         ` Robert A Duff
2010-08-16 23:17           ` Peter C. Chapin
2010-08-17  0:56             ` Robert A Duff
2010-08-17  2:03     ` Stephen Leake
2010-08-20  1:21 ` Yannick Duchêne (Hibou57)
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox