diff options
| author | Scott Lawrence <scott+git@ineffectivetheory.com> | 2024-11-28 11:57:12 -0700 |
|---|---|---|
| committer | Scott Lawrence <scott+git@ineffectivetheory.com> | 2024-11-28 11:57:12 -0700 |
| commit | de30d14e0cc11fd4785f58ae642e4581991b9a76 (patch) | |
| tree | 3a33ba7828011e59f2e18f4a6904ce2e2515ace2 | |
| parent | 391862c82d331ee25a8e520d7c4ef0fe370b3819 (diff) | |
| download | varanus-de30d14e0cc11fd4785f58ae642e4581991b9a76.tar.gz varanus-de30d14e0cc11fd4785f58ae642e4581991b9a76.tar.bz2 varanus-de30d14e0cc11fd4785f58ae642e4581991b9a76.zip | |
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 11662e7..95c6c0e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -285,7 +285,7 @@ impl Drop for Listener { fn human(k: u64) -> String { let mut x: f64 = k as f64; let mut i = 0; - let cs = ["", "K", "M", "G", "T", "P"]; + let cs = ["", "K", "M", "G", "T", "P", "E", "Z", "Y"]; while x >= 1000. && i < cs.len()-1 { x /= 1000.; i += 1; |
