comp.lang.ada
 help / color / mirror / Atom feed
From: jpwoodruff@gmail.com
Subject: Re: Dimensions in Ada
Date: Fri, 28 Dec 2012 11:50:32 -0800 (PST)
Date: 2012-12-28T11:50:32-08:00	[thread overview]
Message-ID: <9343de35-328f-4d43-9fb4-d77b05c950e8@googlegroups.com> (raw)
In-Reply-To: <kbkdg7$c5u$1@dont-email.me>

On Friday, December 28, 2012 8:22:43 AM UTC-7, Álex R. Mosteo wrote:
> I have vague remembrances of past discussions about unit systems in Ada; at 
> 
> least three ways of doing it, none of them totally satisfying.
> 

I suggest you examine the Unit and Measure types implemented by
Dmitry Kazakov (http://www.dmitry-kazakov.de/ada/units.htm)

Two types are used for dealing with units. The type Unit denotes the
dimension of a physical entity. The type Measure represents some
quantity of a physical unit.

Dmitry provides a formidable body of services on physically
dimensioned quantities, including math operations and I/O.  

Well tested and documented; a thoroughly professional product.

John



  reply	other threads:[~2012-12-28 19:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-28 15:22 Dimensions in Ada Álex R. Mosteo
2012-12-28 19:50 ` jpwoodruff [this message]
2012-12-28 21:26   ` jpwoodruff
2013-01-03 12:27 ` AdaMagica
replies disabled

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