I quite like the use of
k - 1000
K - 1024
m - 1000 * 1000
M - 1024 * 1024
etc. as a short-hand. However, it'd be nice if the full SI unit can be
specified. It's not entirely consistent that k and M, which are both SI
prefixes for 1000, and 1000000, stand for 1000, and 1024*1024
respectively in the above system. I think if the full SI unit is
specified, kB should result in 1000, MB in 1000000, and kib in 1024.
Cheers,
Shaun
On Wed, 2003-06-25 at 02:38, Guy Harris wrote:
> On Mon, Jun 23, 2003 at 07:04:19AM -0600, Shaun Jackman wrote:
> > Also consider the standard SI units. e.g.
> > 5 MB = 5 * 1000 * 1000
> > 5 MiB = 5 * 1024 * 1024
>
> "Consider" in what sense? Consider requiring the "B" and "iB"? Should
> it also require the capital letters? It seems a bit clunky to me to
> require "-C5MiB" and "-C5MB" rather than "-C5M" and "-C5m".
>
> He's already proposing that those units be used - "-C5M" is 5 MiB, and
> "-C5m" is 5 MB (although he called 5 MiB "5 MB"), he's just not
> proposing using those exact sequences of letters.