[U-Boot] [PATCH] allow print_size to print large numbers on 32-bit systems

Scott Wood scottwood at freescale.com
Mon Apr 12 21:26:33 CEST 2010


Timur Tabi wrote:
> Wolfgang Denk wrote:
>> For example, how big is (ummm: was) a standard 3.5" floppy disk?
>>
>> 1.44 MB, right?
>>
>> Well, actually it's 1474560 bytes, or 1440 * 1024 bytes.
>>
>> So this "MB" here is 1000 * 1024 - which is complete nonsense.
> 
> This is bad example, because the size of a floppy is neither 1.44MB nor 1.44 MiB.

It's a good example, because it was a result of allowing prefixes like 
"MB" to be fuzzily defined.  If you give the marketers room to interpret 
fuzzy things in their favor, they'll use it.

-Scott


More information about the U-Boot mailing list