[Top][All Lists]

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

Re: [COMMITTED] pkl, testsuite, doc: defunit, support for arbitrary name

From: Alfred M. Szmidt
Subject: Re: [COMMITTED] pkl, testsuite, doc: defunit, support for arbitrary named units
Date: Sat, 29 Feb 2020 13:00:25 -0500

   a) To not support "ambiguous" unit names like 'k' or 'M' or 'G' in poke.

That sounds like a good idea -- or strictly define those as multiples
of 10 (and then maybe ki, Mi, Gi, ...?).

   b) Support the *B units with the same names than coreutils (I am really
      not a big fan of using things like KiB to denote powers of two and KB
      to denote powers of ten, but I reckon it is gonna be an uphill battle
      leading to endless discussions, so I can well give up right now and
      save the effort 8-) ).

Agreed, but it leads to less confusion and doesn't create a headache
when going from one tool to another.

   c) Add *b units for bits, modeled after the *B units from coreutils.

Would *bit be sensible?  Then one can have Kibit and Kbit.

   d) Add the extra units b, B and N.

I don't see what those add, but don't have a strong opinion.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]