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=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a02:7607:: with SMTP id z7-v6mr17738462jab.0.1541407621141; Mon, 05 Nov 2018 00:47:01 -0800 (PST) X-Received: by 2002:aca:a984:: with SMTP id s126-v6mr120884oie.6.1541407621033; Mon, 05 Nov 2018 00:47:01 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!goblin1!goblin.stu.neva.ru!g188-v6no18658itg.0!news-out.google.com!n199-v6ni11itn.0!nntp.google.com!z5-v6no13538ite.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 5 Nov 2018 00:47:00 -0800 (PST) In-Reply-To: <4b58915a-1e25-4470-bf6b-6de7ff8e5fb6@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=84.208.175.183; posting-account=bPTmZAoAAAC_6HP9XLKB9aAAxBa6BuOR NNTP-Posting-Host: 84.208.175.183 References: <4b58915a-1e25-4470-bf6b-6de7ff8e5fb6@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <8207e08d-a80f-435e-94d6-2c3883e22aaa@googlegroups.com> Subject: Re: SI units updated From: reinert Injection-Date: Mon, 05 Nov 2018 08:47:01 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:54763 Date: 2018-11-05T00:47:00-08:00 List-Id: Great attempt! I have been looking after something like this. But you did n= ot consider enumeration variables instead of strings? But will you modify the "Time" issue? "Time" in Ada is "Calendar time" whic= h is thought about as duration since a magic "year 0" on Earth (Middle East= ?)? "Time" in physics is normally thought about as duration before/after a= reference "event"/point in time/space - or "duration between two events/po= ints in time/space.=20 I have though not so far investigated you use of "Ada.Real_Time". reinert mandag 1. oktober 2018 21.24.40 UTC+2 skrev Shark8 f=C3=B8lgende: > On Saturday, September 29, 2018 at 2:51:57 PM UTC-6, AdaMagica wrote: > > This is a package for computing with physical dimensions. Units are giv= en in strings (case sensitive). All symbols and prefixed as defined in SI m= ay be used. > >=20 > > Unit syntax improved: 1.0*"W/(m*K)", the former "W/m/K" (very ugly) is = now illegal. > >=20 > > http://www.christ-usch-grein.homepage.t-online.de/Ada/Dimension/SI.html > >=20 > > Enjoy - Christoph >=20 > Thank you for posting this; I was just assessing the possibility of havin= g to use SI units in my new job, and this looks like it would save a lot of= time and effort reinventing the wheel.