LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Tony Foiani <tkil@scrye.com>
To: Jan Engelhardt <jengelh@linux01.gwdg.de>,
Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Eduard Bloch <edi@gmx.de>, Bodo Eggert <7eggert@gmx.de>,
David Schwartz <davids@webmaster.com>,
Leon Woestenberg <leon.woestenberg@gmail.com>,
linux-kernel@vger.kernel.org
Subject: Re: PROBLEM: KB->KiB, MB -> MiB, ... (IEC 60027-2)
Date: Mon, 22 Jan 2007 12:24:40 -0700 [thread overview]
Message-ID: <gsle2n9tz.fsf@brand.scrye.com> (raw)
In-Reply-To: <20070122183619.2db6538e@localhost.localdomain> (alan@lxorguk.ukuu.org.uk's message of "Mon, 22 Jan 2007 18:36:19 +0000")
>>>>> "Jan" == Jan Engelhardt <jengelh@linux01.gwdg.de> writes:
Jan> For "F"s sake, when you gotta use abbreviations, then just use
Jan> k=1000 and K=1024 already, b for bits and B for bytes. Problem
Jan> gone.
The one-letter abbreviations are identical to SI prefixes, except
for "K", which is used interchangeably with "k" (in SI, "K" stands
for the kelvin, and only "k" stands for 1,000).
[...]
BIPM (which maintains SI) expressly prohibits the binary prefix
usage, and recommends the use of the IEC prefixes as an alternative
(computing units are not included in SI).
Some have suggested that "k" be used for 1,000, and "K" for 1,024,
but this cannot be extended to the higher order prefixes and has
never been widely recognised.
-- http://en.wikipedia.org/wiki/Binary_prefix
So if you continue insisting that "MB" is really 2^20 bytes, you're
flouting the SI in at least two ways. I'd expect that from an USAian,
not a German. ;-> (To be clear, I *am* a USAian, and I really
desperately wish this country were metric...)
Some other gems from that article that haven't been covered in this
thread:
* CD-Rs are generally specified in MiB, but DVD-Rs in GB
* CPU clocks are given in decimal
(See http://en.wikipedia.org/wiki/Binary_prefix#Usage_notes )
It also points out that there are some ongoing lawsuits on exactly
this topic, completely analogous to the CRT diagonal cases.
>>>>> "Alan" == Alan Cox <alan@lxorguk.ukuu.org.uk> writes:
Alan> K is Kelvin, k is kilo-
One nice thing about IEC 60027-2 is that it seems to have fixed the
capitalization inconsistency; kibi- really is "Ki".
(I never cared for the lower-case "k" for "kilo-"; there are other
clashes of symbols in the SI system proper; think "milli-" and
"meter".)
The standard also specifically states that "B", when used with the
binary prefixes, is "byte" not "Bel". Which is nice.
t.
next prev parent reply other threads:[~2007-01-22 19:24 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <7FsPf-51s-9@gated-at.bofh.it>
[not found] ` <7FxlV-3sb-1@gated-at.bofh.it>
[not found] ` <7FyUF-5XD-21@gated-at.bofh.it>
2007-01-21 10:40 ` Bodo Eggert
2007-01-21 11:10 ` Eduard Bloch
2007-01-21 22:08 ` Stefan Richter
2007-01-22 15:53 ` Lennart Sorensen
2007-01-22 16:58 ` Jan Engelhardt
2007-01-22 18:36 ` Alan
2007-01-22 19:24 ` Tony Foiani [this message]
2007-01-22 22:26 ` Bodo Eggert
2007-01-22 20:44 ` Lennart Sorensen
2007-01-22 21:17 ` linux-os (Dick Johnson)
2007-01-22 20:43 ` Lennart Sorensen
2007-01-22 21:22 ` Jan Engelhardt
2007-01-21 14:45 ` Benny Amorsen
2007-01-21 15:06 ` Heikki Orsila
2007-01-21 21:27 ` Jan Engelhardt
2007-01-22 1:56 ` Krzysztof Halasa
2007-01-22 10:39 ` Bernd Petrovitsch
2007-01-22 10:48 ` Andreas Schwab
2007-01-23 1:04 ` Krzysztof Halasa
2007-01-23 1:45 ` Jan Engelhardt
2007-01-23 9:23 ` Andreas Schwab
2007-01-23 13:14 ` Krzysztof Halasa
2007-01-20 8:08 Michał Kudła
2007-01-20 10:29 ` David Schwartz
2007-01-20 18:07 ` Leon Woestenberg
2007-01-20 22:54 ` David Schwartz
2007-01-21 0:07 ` Tony Foiani
2007-01-21 21:12 ` Jan Engelhardt
2007-01-22 6:45 ` Tony Foiani
2007-01-22 8:25 ` Roland Kuhn
2007-01-22 15:43 ` Lennart Sorensen
2007-01-21 7:11 ` H. Peter Anvin
2007-01-21 20:03 ` Geert Uytterhoeven
2007-01-21 20:06 ` H. Peter Anvin
2007-01-21 17:04 ` Leon Woestenberg
2007-01-21 22:12 ` David Schwartz
2007-01-22 8:49 ` Benny Amorsen
2007-01-27 15:06 ` Andries Brouwer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gsle2n9tz.fsf@brand.scrye.com \
--to=tkil@scrye.com \
--cc=7eggert@gmx.de \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=davids@webmaster.com \
--cc=edi@gmx.de \
--cc=jengelh@linux01.gwdg.de \
--cc=leon.woestenberg@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--subject='Re: PROBLEM: KB->KiB, MB -> MiB, ... (IEC 60027-2)' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).