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 Path: border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Kilogram constant defined in package System.Dim.Other_Prefixes (s-dmotpr.ads) Date: Wed, 05 Feb 2014 08:44:35 +0100 Organization: Ada @ Home Message-ID: References: NNTP-Posting-Host: ljqESyMOjXwa1Hk54Mlupw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.16 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 X-Original-Bytes: 2106 Xref: number.nntp.dca.giganews.com comp.lang.ada:184667 Date: 2014-02-05T08:44:35+01:00 List-Id: Le Tue, 04 Feb 2014 18:26:05 +0100, Anh Vo a =C3= =A9crit: > 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. > > -- SI prefixes for Meter > > pragma Warnings (Off); > -- Turn off the all the dimension warnings > > ym : constant Length :=3D 1.0E-24; -- yocto > zm : constant Length :=3D 1.0E-21; -- zepto > am : constant Length :=3D 1.0E-18; -- atto > [=E2=80=A6] Excuse me, is this GNAT specific? I can't find this in the RM. If this i= s = in the RM, then I did not knew there was such a package in System. -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [1] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [1] [1]: Epigrams on Programming =E2=80=94 Alan J. =E2=80=94 P. Yale Univers= ity