comp.lang.ada
 help / color / mirror / Atom feed
From: Anh Vo <anhvofrcaus@gmail.com>
Subject: Re: Kilogram constant defined in package System.Dim.Other_Prefixes (s-dmotpr.ads)
Date: Tue, 4 Feb 2014 11:44:28 -0800 (PST)
Date: 2014-02-04T11:44:28-08:00	[thread overview]
Message-ID: <f423c019-3aee-45bc-9d96-79a3887d0ee3@googlegroups.com> (raw)
In-Reply-To: <87iosuu4eo.fsf@ludovic-brenta.org>

On Tuesday, February 4, 2014 10:19:27 AM UTC-8, Ludovic Brenta wrote:
> Anh Vo <anhvofrcaus@gmail.com> writes: 
> > The Kilogram constants defined in package System.Dim.Other_Prefixes 
> > (s-dmotpr.ads) look different compared to others such as Meter, 
> > Second,... In addition, the values do not match with names in the 
> > comments on the right side. I would like to know why. By the way, the 
> > Meter, Kilogram and Second constant are repeated here for easy 
> > discussion.
>  
> Because the base SI unit for weight is not gram, it is kilogram.  This 
> explains the difference in exponents.  Also, in s-dimmks.ads, note how 
> the gram is defined:
>  
>    ug  : constant Mass := 1.0E-09;  -- micro (u) 
>    mg  : constant Mass := 1.0E-06;  -- milli 
>    cg  : constant Mass := 1.0E-05;  -- centi 
>    dg  : constant Mass := 1.0E-04;  -- deci 
>    g   : constant Mass := 1.0E-03;  -- gram 
>    dag : constant Mass := 1.0E-02;  -- deka 
>    hg  : constant Mass := 1.0E-01;  -- hecto 
>    Meg : constant Mass := 1.0E+03;  -- mega 
 
Thank you for your explanation. 

A. Vo



  reply	other threads:[~2014-02-04 19:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-04 17:26 Kilogram constant defined in package System.Dim.Other_Prefixes (s-dmotpr.ads) Anh Vo
2014-02-04 17:44 ` adambeneschan
2014-02-04 18:10   ` G.B.
2014-02-04 18:16     ` adambeneschan
2014-02-04 18:22       ` adambeneschan
2014-02-04 18:19 ` Ludovic Brenta
2014-02-04 19:44   ` Anh Vo [this message]
2014-02-05  7:44 ` Yannick Duchêne (Hibou57)
2014-02-05  9:30   ` AdaMagica
replies disabled

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