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 10.42.63.68 with SMTP id b4mr5589729ici.21.1391543069204; Tue, 04 Feb 2014 11:44:29 -0800 (PST) X-Received: by 10.182.243.131 with SMTP id wy3mr311315obc.17.1391543069071; Tue, 04 Feb 2014 11:44:29 -0800 (PST) Path: border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!c10no10119990igq.0!news-out.google.com!gj3ni1igc.0!nntp.google.com!c10no10119986igq.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 4 Feb 2014 11:44:28 -0800 (PST) In-Reply-To: <87iosuu4eo.fsf@ludovic-brenta.org> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=149.32.224.34; posting-account=Qh2kiQoAAADpCLlhT_KTYoGO8dU3n4I6 NNTP-Posting-Host: 149.32.224.34 References: <87iosuu4eo.fsf@ludovic-brenta.org> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Kilogram constant defined in package System.Dim.Other_Prefixes (s-dmotpr.ads) From: Anh Vo Injection-Date: Tue, 04 Feb 2014 19:44:29 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Original-Bytes: 2328 Xref: number.nntp.dca.giganews.com comp.lang.ada:184663 Date: 2014-02-04T11:44:28-08:00 List-Id: On Tuesday, February 4, 2014 10:19:27 AM UTC-8, Ludovic Brenta wrote: > Anh Vo 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