Re: g_format_file_size_for_display()



On Tue, 18 Dec 2007 23:50:09 +0100
Mathias Hasselmann <mathias hasselmann gmx de> wrote:

> WTF doesn't this 64 MB file (64 * 2^10 bytes) fit
> on this 64 MB stick (64 * 10^6 bytes)?

Actually, it's worse than that. Anything that isn't binary address random
access tends to still use decimal counting.

A 100Mbit/sec network card is just that - Mbit being 10^6, not 2^30. It
takes _more_ than 1 second to pass 100Mib (mebi-bits) down a 100Mbit
link. And all the ADSLs around are sold as 2Mbit/sec, 4, 8.. Some of the
cable people go up to 24 around here. Those are all decimal too.

-- 
Paul "LeoNerd" Evans

leonerd leonerd org uk
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/

Attachment: signature.asc
Description: PGP signature



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