From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: Kilogram constant defined in package System.Dim.Other_Prefixes (s-dmotpr.ads)
Date: Wed, 05 Feb 2014 08:44:35 +0100
Date: 2014-02-05T08:44:35+01:00 [thread overview]
Message-ID: <op.xass4lkqule2fv@cardamome> (raw)
In-Reply-To: ed6b75a5-35f1-4348-a200-653b05485dbb@googlegroups.com
Le Tue, 04 Feb 2014 18:26:05 +0100, Anh Vo <anhvofrcaus@gmail.com> a écrit:
> 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 := 1.0E-24; -- yocto
> zm : constant Length := 1.0E-21; -- zepto
> am : constant Length := 1.0E-18; -- atto
> […]
Excuse me, is this GNAT specific? I can't find this in the RM. If this is
in the RM, then I did not knew there was such a package in System.
--
“Syntactic sugar causes cancer of the semi-colons.” [1]
“Structured Programming supports the law of the excluded muddle.” [1]
[1]: Epigrams on Programming — Alan J. — P. Yale University
next prev parent reply other threads:[~2014-02-05 7: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
2014-02-05 7:44 ` Yannick Duchêne (Hibou57) [this message]
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