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,587080b267749b6a,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!q12g2000yqj.googlegroups.com!not-for-mail From: AdaMagica Newsgroups: comp.lang.ada Subject: SI unit checking Date: Mon, 5 Jul 2010 01:56:47 -0700 (PDT) Organization: http://groups.google.com Message-ID: <270f723c-c64a-4692-8861-ef8ebc19935e@q12g2000yqj.googlegroups.com> NNTP-Posting-Host: 80.156.44.178 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1278320207 25463 127.0.0.1 (5 Jul 2010 08:56:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 5 Jul 2010 08:56:47 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: q12g2000yqj.googlegroups.com; posting-host=80.156.44.178; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; WOW64; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:12184 Date: 2010-07-05T01:56:47-07:00 List-Id: 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.