Module dd_lib::units

source ·
Expand description

SI Units.

  • B: 1
  • K: 1024
  • M: 1024²
  • G: 1024³
  • T: 1024⁴
  • P: 1024⁵
  • Z: 1024⁶
  • KB: 10⁶
  • MB: 10⁹
  • GB: 10¹²
  • TB: 10¹⁵
  • ZB: 10¹⁸

Constants

512
BITSIZE is the pointer width of the target system (64)
M*K = 1024³
MB*KB = 10⁹
1024
10³
K*K = 1024²
KB*KB = 10⁶
T*K = 1024⁵
GB*KB = 10¹⁵
G*K = 1024⁴
GB*KB = 10¹²
P*K = 1024⁶
TB*KB = 10¹⁸