1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-15 09:41:07 +00:00
uutils-coreutils/src
Daniel Rocco d06f91fbe2
numfmt: align format output values with GNU (#1745)
When converting to SI or IEC, produce values that align with the conventions
used by GNU numfmt.

- values > 10 are represented without a decimal place, so 10000 becomes 10K
  instead of 10.0K

- when truncating, take the ceiling of the value, so 100001 becomes 101K

- values < 10 are truncated to the highest tenth, so 1001 becomes 1.1K

closes #1726
2021-03-06 18:26:05 +01:00
..
bin Remove 'extern crate' 2020-12-31 15:44:00 +01:00
uu numfmt: align format output values with GNU (#1745) 2021-03-06 18:26:05 +01:00
uucore Fix macOS aarch64 compile errors (#1724) 2021-02-23 10:25:06 +01:00
uucore_procs also update uucore & uucore_procs versions to 0.0.5 2021-01-10 18:24:43 +01:00