[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT - Convert output of byte count to GB count?



On 16/02/13 03:20, Jerry Stuckle wrote:
> On 2/14/2013 4:52 PM, Pascal Hambourg wrote:
>> Ralf Mardorf a écrit :
>>> On Thu, 2013-02-14 at 09:50 +0200, Andrei POPESCU wrote:
>>>> On Mi, 13 feb 13, 14:08:15, Richard Hector wrote:
>>>>> Abusing the standard prefixes like that was always a horrible hack.
>>>> +1
>>>>
>>>> It's also a major source of confusion for many users.
>>
>> Agreed. And now there are "official" binary prefixes, so there is no
>> excuse for not using them when powers of 2 are more convenient instead
>> of abusing SI decimal prefixes.
>>
> 
> And who declared these made-up prefixes "official"?
> 

Display your ignorance at your peril. It doesn't enhance your argument.

The IEC declared these prefixes back in 1999 (IEC 60027-2 Amendment 2),
and the BIPM (which regulates the SI) explicitly deprecates the use of
the power-of-10 units for binary quantities.

See Bureau International des Poids et Mesures (2006).
http://www1.bipm.org/utils/common/pdf/si_brochure_8.pdf page 121 (sidenote):

"These SI prefixes refer strictly to powers of 10. They should not be
used to indicate powers of 2 (for example, one kilobit represents 1000
bits and not 1024 bits). The IEC has adopted prefixes for binary powers
in the international standard IEC 60027-2: 2005, third edition, Letter
symbols to be used in electrical technology – Part 2: Telecommunications
and electronics. The names and symbols for the prefixes corresponding to
210, 220, 230, 240, 250, and 260 are, respectively: kibi, Ki; mebi, Mi;
gibi, Gi; tebi, Ti; pebi, Pi; and exbi, Ei. Thus, for example, one
kibibyte would be written: 1 KiB = 210 B = 1024 B, where B denotes a
byte. Although these prefixes are not part of the SI, they should be
used in the field of information technology to avoid the incorrect usage
of the SI prefixes."

(Apologies for the exponentation in this extract; I didn't want to edit
it. 210, etc should say 2^10).

That's official enough for most people. However, if you want to declare
the earth flat, then don't be surprised if your opinion is disrespected.
-- 
Tony van der Hoff        | mailto:tony@vanderhoff.org
Buckinghamshire, England |


Reply to: