From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Thompson Date: Mon, 12 Apr 2010 17:27:48 +0100 Subject: [U-Boot] [PATCH] allow print_size to print large numbers on 32-bit systems In-Reply-To: <4BC34870.8090308@freescale.com> References: <1269990179-23666-1-git-send-email-timur@freescale.com> <1269990179-23666-2-git-send-email-timur@freescale.com> <20100409202259.166C219F36@gemini.denx.de> <4BBF8DC3.4090408@freescale.com> <20100409204056.25B6A19F36@gemini.denx.de> <4BC34758.3050706@ge.com> <4BC34870.8090308@freescale.com> Message-ID: <4BC34A04.4030604@ge.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 12/04/10 17:21, Timur Tabi wrote: > Nick Thompson wrote: > >> To differentiate from "K", which means 1000, rather than 1024. > > I don't think that's correct. I understand the 1000/1024 debate, but my understanding is that > > KB = 1000 bytes > KiB = 1024 bytes > > (personally, I think the whole kibi-byte thing is stupid, and we should just say that K=1024 when talking about memory sizes, but whatever) > > I've never seen K=1000 and k=1024. Then why don't we do "mB" instead of MB? By your logical, M=1000000 and m=1048576 > Hmm, yes, my bad. http://physics.nist.gov/cuu/Units/prefixes.html lists SI prefixes and "k" = 1000. "m" is milli of course. "K" is not used by SI, so might be free for 1024...? Nick.