From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: SI unit checking
Date: Mon, 16 Aug 2010 22:00:18 +0200
Date: 2010-08-16T22:00:18+02:00 [thread overview]
Message-ID: <op.vhjq6sooxmjfy8@garhos> (raw)
In-Reply-To: 270f723c-c64a-4692-8861-ef8ebc19935e@q12g2000yqj.googlegroups.com
Le Mon, 05 Jul 2010 10:56:47 +0200, AdaMagica
<christoph.grein@eurocopter.com> a écrit:
> Dimension checking in Ada made simple. All 7 SI units are included;
> Centigrade and other temperature skales.
>
> Runtime checks can easily be switched off by changing only a few lines
> of code, i.e. only the numerics remains.
> IO with unit information is included, e.g. 10.0*km/h. Easy definition
> of arbitrary other units.
> 3D vector spaces. Rotation via matrices or quaternions.
>
> Examples of use and a lot of unit tests are provided.
>
> http://www.christ-usch-grein.homepage.t-online.de/Ada/SI.html
>
> This version fixes a bug in the definition of photometry unit lm=cd*sr.
Not really the same, while in the same area, this topic make think about
an old entry in my bookmarks, which may complete yours. A web paper about
dimensional arithmetic in Ada
http://www.christ-usch-grein.homepage.t-online.de/Ada/Universe.html
Keep in mind it's a bit old, so this may need some review.
prev parent reply other threads:[~2010-08-16 20:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-05 8:56 SI unit checking AdaMagica
2010-08-16 20:00 ` Yannick Duchêne (Hibou57) [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox