On Mar 22, 2021, at 11:35 AM, Constantine Gavrilov <CONSTG@xxxxxxxxxx> wrote:
> There are two repeated patterns for this:
>
> 1. For capacity (bytes, blocks, etc.).
> 2. For units (how many times).
>
> So, I am thinking about two formats:
> 1. For bytes.
> 2. For units.
>
> The implementation would get high and low 64-bits, and compute a 64-bit value in units of 10^x (depending on the value) for units, and in units of KiB-ZiB (depending on the value) for bytes.
So a value of 12 would be shown as "1.2 deca-XXX" for units, and a value of 1 would be shown as "1/1024 KiB bytes" for bytes?