ANN: Units of measurement for Ada v3.12 (New SI prefixes)

63 views
Skip to first unread message

Dmitry A. Kazakov

unread,
Nov 26, 2022, 5:11:59 PM11/26/22
to
The library provides measurement unit support for Ada.

http://www.dmitry-kazakov.de/ada/units.htm

Changes to the previous version:

- Added four new SI prefixes adopted by General Conference on Weights
and Measures (CGPM) in November 2022.

--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

AdaMagica

unread,
Nov 30, 2022, 10:44:14 AM11/30/22
to
This is a bit confusting. From
https://www.lne.fr/en/news/general-conference-weights-and-measures-2022:

to express quantities of digital information using orders of magnitude in excess of 1024, has been adopted.

Thus, four new prefixes have been introduced:

ronna pour 1027
ronto pour 10-27
quetta pour 1030
quecto pour 10-30
End quote.

Abbreviations?
What does the reference to 1024 mean? Does it mean power of ten prefixes (negative powers)? The what relevance has 1024? If it's binary units, negative powers are nonsense.

From
https://physics.nist.gov/cuu/Units/prefixes.html:

Because the SI prefixes strictly represent powers of 10, they should not be used to represent powers of 2. Thus, one kilobit, or 1 kb a it, is 1000 bit and not 210 bit = 1024 bit. To alleviate this ambiguity, prefixes for binary multiples have been adopted by the International Electrotechnical Commission (IEC) for use in information technology.
End quote.

You can find the binary prefixes in:
https://physics.nist.gov/cuu/Units/binary.html

There is not yet a word to be found about the above prefixes.

Dmitry A. Kazakov

unread,
Nov 30, 2022, 12:03:39 PM11/30/22
to
On 2022-11-30 16:44, AdaMagica wrote:
> This is a bit confusting. From
> https://www.lne.fr/en/news/general-conference-weights-and-measures-2022:
>
> to express quantities of digital information using orders of magnitude in excess of 1024, has been adopted.
>
> Thus, four new prefixes have been introduced:
>
> ronna pour 1027
> ronto pour 10-27
> quetta pour 1030
> quecto pour 10-30
> End quote.
>
> Abbreviations?

q, r, R, Q

> What does the reference to 1024 mean? Does it mean power of ten prefixes (negative powers)? The what relevance has 1024? If it's binary units, negative powers are nonsense.

Mistranslation from French? (:-))

AdaMagica

unread,
Nov 30, 2022, 12:17:29 PM11/30/22
to
AdaMagica schrieb am Mittwoch, 30. November 2022 um 16:44:14 UTC+1:
> This is a bit confusting. From
> https://www.lne.fr/en/news/general-conference-weights-and-measures-2022:
>
> to express quantities of digital information using orders of magnitude in excess of 1024, has been adopted.

Now I see, this is 10**24.

I'm wondering when these prefixes will turn up in https://physics.nist.gov/cuu/Units/prefixes.html.

Jeffrey R.Carter

unread,
Nov 30, 2022, 12:18:34 PM11/30/22
to
On 2022-11-30 16:44, AdaMagica wrote:
> This is a bit confusting. From
> https://www.lne.fr/en/news/general-conference-weights-and-measures-2022:
>
> to express quantities of digital information using orders of magnitude in excess of 1024, has been adopted.
>
> Thus, four new prefixes have been introduced:
>
> ronna pour 1027
> ronto pour 10-27
> quetta pour 1030
> quecto pour 10-30
> End quote.
>
> What does the reference to 1024 mean? Does it mean power of ten prefixes (negative powers)? The what relevance has 1024? If it's binary units, negative powers are nonsense.

I suspect the numbers of the form 10xx originally had xx as a superscript which
was lost in translation, or 10 ** xx in Ada. Similarly, 10-xx would be 10 ** (-xx).

--
Jeff Carter
"Now go away or I shall taunt you a second time."
Monty Python & the Holy Grail
07

AdaMagica

unread,
Nov 30, 2022, 12:49:50 PM11/30/22
to
> I'm wondering when these prefixes will turn up in https://physics.nist.gov/cuu/Units/prefixes.html.
You can find them here:
https://www.bipm.org/en/measurement-units/si-prefixes
Reply all
Reply to author
Forward
0 new messages