From 67a150654277ccf7fb120309f3d993047ceed2d1 Mon Sep 17 00:00:00 2001 From: "Steven G. Johnson" Date: Sun, 22 Jan 2017 15:57:46 -0500 Subject: [PATCH] use ISQ abbreviations (KiB etc.) for power-of-1024 memory units (#20173) --- base/util.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/util.jl b/base/util.jl index 6cf42650cb7e1..7617229a51b54 100644 --- a/base/util.jl +++ b/base/util.jl @@ -118,7 +118,7 @@ function toc() end # print elapsed time, return expression value -const _mem_units = ["byte", "KB", "MB", "GB", "TB", "PB"] +const _mem_units = ["byte", "KiB", "MiB", "GiB", "TiB", "PiB"] const _cnt_units = ["", " k", " M", " G", " T", " P"] function prettyprint_getunits(value, numunits, factor) if value == 0 || value == 1