Skip to content

Commit

Permalink
use ISQ abbreviations (KiB etc.) for power-of-1024 memory units (#20173)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj authored Jan 22, 2017
1 parent 85543a8 commit 67a1506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/util.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 67a1506

Please sign in to comment.