From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Date: Mon, 12 Apr 2010 14:10:59 -0500 Subject: [U-Boot] [PATCH] allow print_size to print large numbers on 32-bit systems In-Reply-To: <20100412185016.3C9BBE50979@gemini.denx.de> 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> <20100412175932.22D1919F60@gemini.denx.de> <4BC36057.30805@freescale.com> <4BC364F1.1030008@freescale.com> <4BC366DE.1000808@freescale.com> <20100412185016.3C9BBE50979@gemini.denx.de> Message-ID: <4BC37043.5010508@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. > Let's use the official standard units, please. We may not like them, > but at least they will not cause a $125 million Mars orbiter to > crash... Alright. -- Timur Tabi Linux kernel developer at Freescale