chiark / gitweb /
dot/emacs-calc: Add peta- and exa- prefixes for bits and bytes.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 23 May 2018 13:41:49 +0000 (14:41 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 23 May 2018 13:41:49 +0000 (14:41 +0100)
dot/emacs-calc

index 017f00b6afd728e66c1a63c4a984817f6e0e4354..ea44b59920da852611417612af346a4ecd0f92f5 100644 (file)
@@ -78,6 +78,8 @@ constant bounds."
 
 ;;; Custom units stored by Calc on Thu Mar 18 19:02:50 1999
 (setq math-additional-units '(
+  (EB "1024 * PB" "Exabyte")
+  (PB "1024 * TB" "Petabyte")
   (TB "1024 * GB" "Terabyte")
   (gig "GB" "Gigabyte")
   (GB "1024 * MB" "Gigabyte")
@@ -85,6 +87,8 @@ constant bounds."
   (MB "1024 * kB" "Megabyte")
   (KB "kB" "Kilobyte")
   (kB "1024 * byte" "Kilobyte")
+  (Eb "1024 * Pb" "Exabit")
+  (Pb "1024 * Tb" "Petabit")
   (Tb "1024 * Gb" "Teraabit")
   (Gb "1024 * Mb" "Gigabit")
   (Mb "1024 * kb" "Megabit")