Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/units Add tera- and peta-bytes.



details:   https://anonhg.NetBSD.org/src/rev/615ed118bf4a
branches:  trunk
changeset: 810763:615ed118bf4a
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Sep 20 15:09:06 2015 +0000

description:
Add tera- and peta-bytes.

diffstat:

 usr.bin/units/units.lib |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r a6fe93e61c05 -r 615ed118bf4a usr.bin/units/units.lib
--- a/usr.bin/units/units.lib   Sun Sep 20 04:51:43 2015 +0000
+++ b/usr.bin/units/units.lib   Sun Sep 20 15:09:06 2015 +0000
@@ -1,4 +1,4 @@
-/      $NetBSD: units.lib,v 1.17 2012/12/28 17:57:46 apb Exp $
+/      $NetBSD: units.lib,v 1.18 2015/09/20 15:09:06 martin Exp $
 
 / primitive units
 
@@ -345,6 +345,8 @@
 megabyte               1024 kbyte
 gigabyte               1024 megabyte
 meg                    megabyte
+terabyte               1024 gigabyte
+petabyte               1024 terabyte
 
 
 / Trivia



Home | Main Index | Thread Index | Old Index