diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2001-02-28 16:00:32 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2001-02-28 16:00:32 +0000 |
commit | dceceb9475cbb3b1519d2f74ce64fadfe9a8eeef (patch) | |
tree | 0cfa12c0665bb5ab56b6540ade9fc0beec53f901 /usr.bin/units | |
parent | 24a3b712aa3d9d2be1dfdf45e708dd68aba30b8b (diff) | |
download | FreeBSD-src-dceceb9475cbb3b1519d2f74ce64fadfe9a8eeef.zip FreeBSD-src-dceceb9475cbb3b1519d2f74ce64fadfe9a8eeef.tar.gz |
Add missing prefix for nano, I presume this was missing 'cos of the
prefix recusrion bug. Remove units which can be derived using prefixes
and other units.
Add new prefixes for 2^10, 2^20, etc...
Diffstat (limited to 'usr.bin/units')
-rw-r--r-- | usr.bin/units/units.lib | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/usr.bin/units/units.lib b/usr.bin/units/units.lib index 1c2a1fa..b4624f4 100644 --- a/usr.bin/units/units.lib +++ b/usr.bin/units/units.lib @@ -52,12 +52,28 @@ da- deka d- deci c- centi m- milli +n- nano p- pico f- femto a- atto z- zopto y- yocto +/ binary prefixes introduced in 1999 +exbi- 1152921504606846976 +pebi- 1125899906842624 +tebi- 1099511627776 +gibi- 1073741824 +mebi- 1048576 +kibi- 1024 + +Ei- exbi +Pi- pebi +Ti- tebi +Gi- gibi +Mi- mebi +Ki- kibi + / constants fuzz 1 @@ -104,14 +120,12 @@ week 7 day year 365.24219879 day fuzz yr year month 1|12 year -ms millisec us microsec / Mass gram millikg gm gram -mg milligram metricton kilokg / Avoirdupois @@ -140,10 +154,6 @@ troypound appound / Length meter m -cm centimeter -mm millimeter -km kilometer -nm nanometer micron micrometer angstrom decinanometer @@ -429,9 +439,6 @@ hz /sec imaginarycubicfoot 1.4 ft3 jeroboam 4|5 gal karat 1|24 -kcal kilocal -kcalorie kilocal -kev 1e+3 e-volt key kg khz 1e+3 /sec kilderkin 18 gal @@ -466,7 +473,6 @@ nauticalmile nmile nit cd/m2 noggin 1|8 qt nox 1e-3 lux -ns nanosec oersted 2.5e+2 pi-amp/m oe oersted pace 36 in |