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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,587080b267749b6a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news3.google.com!feeder.news-service.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!gegeweb.org!aioe.org!not-for-mail From: =?iso-8859-15?Q?Yannick_Duch=EAne_=28Hibou57=29?= Newsgroups: comp.lang.ada Subject: Re: SI unit checking Date: Mon, 16 Aug 2010 22:00:18 +0200 Organization: Ada At Home Message-ID: References: <270f723c-c64a-4692-8861-ef8ebc19935e@q12g2000yqj.googlegroups.com> NNTP-Posting-Host: k3GxHhLOzON8NRi+WQWeSw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.61 (Win32) Xref: g2news1.google.com comp.lang.ada:13427 Date: 2010-08-16T22:00:18+02:00 List-Id: Le Mon, 05 Jul 2010 10:56:47 +0200, AdaMagica = a =E9crit: > 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=3Dcd*= 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 abou= t = 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.