comp.lang.ada
 help / color / mirror / Atom feed
From: reinert <reinkor@gmail.com>
Subject: Re: SI units updated
Date: Mon, 5 Nov 2018 00:47:00 -0800 (PST)
Date: 2018-11-05T00:47:00-08:00	[thread overview]
Message-ID: <8207e08d-a80f-435e-94d6-2c3883e22aaa@googlegroups.com> (raw)
In-Reply-To: <4b58915a-1e25-4470-bf6b-6de7ff8e5fb6@googlegroups.com>

Great attempt! I have been looking after something like this. But you did not consider enumeration variables instead of strings?

But will you modify the "Time" issue? "Time" in Ada is "Calendar time" which 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/points in time/space. 

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ølgende:
> 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 given in strings (case sensitive). All symbols and prefixed as defined in SI may be used.
> > 
> > Unit syntax improved: 1.0*"W/(m*K)", the former "W/m/K" (very ugly) is now illegal.
> > 
> > http://www.christ-usch-grein.homepage.t-online.de/Ada/Dimension/SI.html
> > 
> > Enjoy - Christoph
> 
> Thank you for posting this; I was just assessing the possibility of having to use SI units in my new job, and this looks like it would save a lot of time and effort reinventing the wheel.


  parent reply	other threads:[~2018-11-05  8:47 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-29 20:51 SI units updated AdaMagica
2018-10-01 19:24 ` Shark8
2018-10-02 11:26   ` AdaMagica
2018-10-02 14:36     ` Shark8
2018-10-02 20:12       ` AdaMagica
2018-10-02 21:43         ` Shark8
2018-10-03  5:48           ` J-P. Rosen
2018-10-03  7:21           ` Dmitry A. Kazakov
2018-10-03 14:40             ` Shark8
2018-10-03 17:33             ` AdaMagica
2018-10-03 19:47               ` Dmitry A. Kazakov
2018-10-03 17:37           ` AdaMagica
2018-11-05  8:47   ` reinert [this message]
2018-11-15 11:46     ` AdaMagica
2018-11-05 14:10 ` Simon Wright
2018-11-15 12:41   ` AdaMagica
2018-11-15 16:13     ` Simon Wright
replies disabled

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