Sync usage with man page.
[netbsd-mini2440.git] / usr.bin / units / units.lib
blob8597d3cdccbc95028be4c9ca294fbcfe9a6aa119
1 /       $NetBSD: units.lib,v 1.13 2005/02/01 01:08:10 groo Exp $
3 / primitive units
5 m                       !a!
6 kg                      !b!
7 sec                     !c!
8 coul                    !d!
9 candela                 !e!
10 dollar                  !f!
11 bit                     !h!
12 erlang                  !i!
13 K                       !j!
15 / prefixes
17 yotta-                  1e24
18 zetta-                  1e21
19 exa-                    1e18
20 peta-                   1e15
21 tera-                   1e12
22 giga-                   1e9
23 mega-                   1e6
24 myria-                  1e4
25 kilo-                   1e3
26 hecto-                  1e2
27 deka-                   1e1
28 deci-                   1e-1
29 centi-                  1e-2
30 milli-                  1e-3
31 micro-                  1e-6
32 nano-                   1e-9
33 pico-                   1e-12
34 femto-                  1e-15
35 atto-                   1e-18
36 zopto-                  1e-21
37 yocto-                  1e-24
39 semi-                   .5
40 demi-                   .5
42 Y-                      yotta
43 Z-                      zetta
44 E-                      exa
45 P-                      peta
46 T-                      tera
47 G-                      giga
48 M-                      mega
49 k-                      kilo
50 h-                      hecto
51 da-                     deka
52 d-                      deci
53 c-                      centi
54 m-                      milli
55 p-                      pico
56 f-                      femto
57 a-                      atto
58 z-                      zopto
59 y-                      yocto
61 / constants
63 fuzz                    1
64 pi                      3.14159265358979323846
65 c                       2.99792458e+8 m/sec fuzz
66 g                       9.80665 m/sec2
67 au                      1.49597871e+11 m fuzz
68 mole                    6.022169e+23 fuzz
69 e                       1.6021917e-19 coul fuzz
70 energy                  c2
71 force                   g
72 mercury                 1.33322e+5 kg/m2-sec2
73 hg                      mercury
75 / dimensionless
77 radian                  .5 / pi
78 degree                  1|180 pi-radian
79 circle                  2 pi-radian
80 turn                    2 pi-radian
81 revolution                      turn
82 rev                     turn
83 grade                   .9 degree
84 arcdeg                  1 degree
85 arcmin                  1|60 arcdeg
86 ccs                     1|36 erlang
87 arcsec                  1|60 arcmin
89 steradian               radian2
90 sphere                  4 pi-steradian
91 sr                      steradian
93 / Time
95 second                  sec
96 s                       sec
97 minute                  60 sec
98 min                     minute
99 hour                    60 min
100 hr                      hour
101 day                     24 hr
102 da                      day
103 week                    7 day
104 year                    365.24219879 day fuzz
105 yr                      year
106 month                   1|12 year
107 ms                      millisec
108 us                      microsec
110 / Mass
112 gram                    millikg
113 gm                      gram
114 mg                      milligram
115 metricton               kilokg
117 / Avoirdupois
119 lb                      .45359237 kg
120 pound                   lb
121 lbf                     lb g
122 ounce                   1|16 lb
123 oz                      ounce
124 dram                    1|16 oz
125 dr                      dram
126 grain                   1|7000 lb
127 gr                      grain
128 shortton                2000 lb
129 ton                     shortton
130 longton                 2240 lb
132 / Apothecary
134 scruple                 20 grain
135 apdram                  60 grain
136 apounce                 480 grain
137 appound                 5760 grain
138 troypound               appound
140 / Length
142 meter                   m
143 cm                      centimeter
144 mm                      millimeter
145 km                      kilometer
146 nm                      nanometer
147 micron                  micrometer
148 angstrom                decinanometer
150 inch                    2.54 cm
151 in                      inch
152 foot                    12 in
153 feet                    foot
154 ft                      foot
155 yard                    3 ft
156 yd                      yard
157 rod                     5.5 yd
158 rd                      rod
159 mile                    5280 ft
160 mi                      mile
162 british                 1200|3937 m/ft
163 nmile                   1852 m
165 acre                    4840 yd2
167 cc                      cm3
168 liter                   kilocc
169 ml                      milliliter
171 / US Liquid
173 gallon                  231 in3
174 imperial                1.20095
175 gal                     gallon
176 quart                   1|4 gal
177 qt                      quart
178 pint                    1|2 qt
179 pt                      pint
181 floz                    1|16 pt
182 fldr                    1|8 floz
184 / US Dry
186 dry                     268.8025 in3/gallon fuzz
187 peck                    8 dry-quart
188 pk                      peck
189 bushel                  4 peck
190 bu                      bushel
191 chaldron                36 bushel
193 / British
195 brgallon                277.420 in3 fuzz
196 brquart                 1|4 brgallon
197 brpint                  1|2 brquart
198 brfloz                  1|20 brpint
199 brpeck                  554.84 in3 fuzz
200 brbushel                4 brpeck
202 / Bottles
204 bottle                  750 milliliter
205 /bottle                 fifth
207 miniature               100 milliliter
208 split                   1|4 bottle
209 half                    1|2 bottle
210 magnum                  2 bottle
211 jeroboam                4 bottle
212 rehoboam                6 bottle
213 methuselah              8 bottle
214 salmanazar              12 bottle
215 balthazar               16 bottle
216 nebuchadnezzar          20 bottle
217 sovereign               34 bottle
219 / Bottles - alternate names and spellings
221 pony                    split
222 fillette                half
223 tappit-hen              3 imperial
224 rheoboam                rehoboam
225 shalmaneser             salmanazar
227 / Energy Work
229 newton                  kg-m/sec2
230 nt                      newton
231 N                       newton
232 joule                   nt-m
233 cal                     4.1868 joule
235 / Electrical
237 coulomb                 coul
238 C                       coul
239 ampere                  coul/sec
240 amp                     ampere
241 watt                    joule/sec
242 volt                    watt/amp
243 ohm                     volt/amp
244 mho                     /ohm
245 farad                   coul/volt
246 henry                   sec2/farad
247 weber                   volt-sec
249 / Light
251 cd                      candela
252 lumen                   cd sr
253 lux                     cd sr/m2
255 / Wall Street Journal, July 2, 1993
257 $                       dollar
258 argentinapeso           $
259 australiadollar         .66 $
260 bahraindinar            2.6522 $
261 brazilcruzeiro          .000019 $
262 britainpound            1.49 $
263 canadadollar            .77 $
264 czechkoruna             .034 $
265 chilepeso               .0025 $
266 chinarenminbi           .174856 $
267 colombiapeso            .001495 $
268 denmarkkrone            .15 $
269 ecuadorsucre            .000539 $
270 europeeuro              0.9142 $
271 greatbritainpound       britainpound
272 hongkongdollar          .13  $
273 hungaryforint           .011 $
274 indiarupee              .03211 $
275 indonesiarupiah         .0004782 $
276 israelshekel            .3642 $
277 japanyen                .0093 $
278 jordandinar             1.4682 $
279 kuwaitdinar             3.3173 $
280 lebanonpound            .000578 $
281 malaysiaringgit         .338 $
282 maltalira               2.6042 $
283 mexicopeso              .3205128 $
284 newzealanddollar        .539 $
285 norwaykrone             .139 $
286 pakistanrupee           .037 $
287 perunewsol              .5065 $
288 philippinespeso         .03738 $
289 polandzloty             .000059 $
290 saudiarabiariyal        .26702 $
291 singaporedollar         .6157 $
292 slovakkoruna            .034 $
293 southamericarand        .21 $
294 southkoreawon           .001 $
295 swedenkrona             .13 $
296 switzerlandfranc        .66 $
297 taiwandollar            .038285 $
298 thailandbaht            .03962 $
299 turkeylira              .0000929 $
300 unitedarabdirham        .2723 $
301 uruguaynewpeso          .246852 $
302 venezuelabolivar        .011 $
304 / The following currencies are locked to the Euro:
305 / <URL:http://www.ecb.int/change/conversion.htm>
306 belgiumfranc            1|40.3399 euro
307 germanymark             1|1.95583 euro
308 spainpeseta             1|166.386 euro
309 francefranc             1|6.55957 euro
310 irelandpunt             1|.787564 euro
311 italylira               1|1936.27 euro
312 luxembourgfranc         1|40.3399 euro
313 netherlandsguilder      1|2.20371 euro
314 austriaschilling        1|13.7603 euro
315 portugalescudo          1|200.482 euro
316 finlandmarkka           1|5.94573 euro
317 greecedrachma           1|340.750 euro
319 mark                    germanymark
320 euro                    europeeuro
321 bolivar                 venezuelabolivar
322 peseta                  spainpeseta
323 rand                    southafricarand
324 escudo                  portugalescudo
325 sol                     perusol
326 guilder                 netherlandsguilder
327 hollandguilder          netherlandsguilder
328 peso                    mexicopeso
329 yen                     japanyen
330 lira                    italylira
331 rupee                   indiarupee
332 drachma                 greecedrachma
333 franc                   francefranc
334 markka                  finlandmarkka
335 sucre                   ecuadorsucre
336 poundsterling           britainpound
337 cruzeiro                brazilcruzeiro
339 / computer
341 baud                    bit/sec
342 byte                    8 bit
343 block                   512 byte
344 kbyte                   1024 byte
345 megabyte                1024 kbyte
346 gigabyte                1024 megabyte
347 meg                     megabyte
350 / Trivia
352 %                       1|100
353 admiraltyknot           6080 ft/hr
354 apostilb                cd/pi-m2
355 are                     1e+2 m2
356 arpentcan               27.52 mi
357 arpentlin               191.835 ft
358 astronomicalunit        au
359 atmosphere              1.01325e+5 nt/m2
360 atm                     atmosphere
361 atomicmassunit          1.66044e-27 kg fuzz
362 amu                     atomicmassunit
363 bag                     94 lb
364 bakersdozen             13
365 bar                     1e+5 nt/m2
366 barie                   1e-1 nt/m2
367 barleycorn              1|3 in
368 barn                    1e-28 m2
369 barrel                  42 gal
370 barye                   1e-1 nt/m2
371 bev                     1e+9 e-volt
372 biot                    10 amp
373 blondel                 cd/pi-m2
374 boardfoot               144 in3
375 bolt                    40 yd
376 bottommeasure           1|40 in
377 britishthermalunit      1.05506e+3 joule fuzz
378 btu                     britishthermalunit
379 refrigeration           12000 btu/ton-hour
380 buck                    dollar
381 cable                   720 ft
382 caliber                 1e-2 in
383 calorie                 cal
384 carat                   205 mg
385 caratgold               1|24
386 cent                    centidollar
387 cental                  100 lb
388 centesimalminute        1e-2 grade
389 centesimalsecond        1e-4 grade
390 century                 100 year
391 cfs                     ft3/sec
392 chain                   66 ft
393 circularinch            1|4 pi-in2
394 circularmil             1e-6|4 pi-in2
395 clusec                  1e-8 mm-hg m3/s
396 coomb                   4 bu
397 cord                    128 ft3
398 cordfoot                cord
399 crith                   9.06e-2 gm
400 cubit                   18 in
401 cup                     1|2 pt
402 curie                   3.7e+10 /sec
403 dalton                  amu
404 decade                  10 yr
405 diopter                 /m
406 displacementton         35 ft3
407 doppelzentner           100 kg
408 dozen                   12
409 drop                    .03 cm3
410 dyne                    cm-gm/sec2
411 electronvolt            e-volt
412 ell                     45 in
413 engineerschain          100 ft
414 engineerslink           100|100 ft
415 equivalentfootcandle    lumen/pi-ft2
416 equivalentlux           lumen/pi-m2
417 equivalentphot          cd/pi-cm2
418 erg                     cm2-gm/sec2
419 ev                      e-volt
420 faraday                 9.652e+4 coul
421 fathom                  6 ft
422 fermi                   1e-15 m
423 fifth                   4|5 qt
424 fin                     5 dollar
425 finger                  7|8 in
426 firkin                  9 gal
427 footcandle              lumen/ft2
428 footlambert             cd/pi-ft2
429 fortnight               14 da
430 franklin                3.33564e-10 coul
431 frigorie                kilocal
432 furlong                 220 yd
433 galileo                 1e-2 m/sec2
434 gamma                   1e-9 weber/m2
435 gauss                   1e-4 weber/m2
436 geodeticfoot            british-ft
437 geographicalmile        1852 m
438 gilbert                 7.95775e-1 amp
439 gill                    1|4 pt
440 gross                   144
441 gunterschain            22 yd
442 hand                    4 in
443 hectare                 1e+4 m2
444 hefnercandle            .92 cd
445 hertz                   /sec
446 Hz                      hertz
447 hogshead                63 gallon
448 hd                      hogshead
449 homestead               1|4 mi2
450 horsepower              550 ft-lb-g/sec
451 hp                      horsepower
452 hyl                     gm force sec2/m
453 hz                      /sec
454 imaginarycubicfoot      1.4 ft3
455 karat                   1|24
456 kcal                    kilocal
457 kcalorie                kilocal
458 kev                     1e+3 e-volt
459 key                     kg
460 khz                     1e+3 /sec
461 kilderkin               18 gal
462 knot                    nmile/hr
463 lambert                 cd/pi-cm2
464 langley                 cal/cm2
465 last                    80 bu
466 league                  3 mi
467 lightyear               c-yr
468 line                    1|12 in
469 link                    66|100 ft
470 longhundredweight       112 lb
471 longquarter             28 lb
472 lusec                   1e-6 mm-hg m3/s
473 mach                    331.46 m/sec
474 marineleague            3 nmile
475 maxwell                 1e-8 weber
476 metriccarat             200 mg
477 mgd                     megagal/day
478 mh                      millihenry
479 mhz                     1e+6 /sec
480 mil                     1e-3 in
481 millennium              1000 year
482 minersinch              1.5 ft3/min
483 minim                   1|60 fldr
484 mo                      month
485 mpg                     mile/gal
486 mph                     mile/hr
487 nail                    1|16 yd
488 nauticalmile            nmile
489 nit                     cd/m2
490 noggin                  1|8 qt
491 nox                     1e-3 lux
492 ns                      nanosec
493 oersted                 2.5e+2 pi-amp/m
494 oe                      oersted
495 pace                    36 in
496 palm                    3 in
497 parasang                3.5 mi
498 parsec                  au-radian/arcsec
499 pascal                  nt/m2
500 pc                      parsec
501 pennyweight             1|20 oz
502 pwt                     pennyweight
503 percent                 %
504 perch                   rd
505 pf                      picofarad
506 phot                    lumen/cm2
507 pica                    1|6 in
508 pieze                   1e+3 nt/m2
509 pipe                    4 barrel
510 point                   1|72 in
511 poise                   gm/cm-sec
512 pole                    rd
513 poundal                 ft-lb/sec2
514 pdl                     poundal
515 proof                   1|200
516 psi                     lb-g/in2
517 quarter                 9 in
518 quartersection          1|4 mi2
519 quintal                 100 kg
520 quire                   25
521 rackunit                1.75 in
522 rad                     100 erg/gm
523 ream                    500
524 registerton             100 ft3
525 rhe                     10 m2/nt-sec
526 rontgen                 2.58e-4 curie/kg
527 rood                    1.21e+3 yd
528 rope                    20 ft
529 RU                      rackunit
530 rutherford              1e+6 /sec
531 rydberg                 1.36054e+1 ev
532 sabin                   1 ft2
533 sack                    3 bu
534 score                   20
535 seam                    8 bu
536 section                 mi2
537 shed                    1e-24 barn
538 shippington             40 ft3
539 shorthundredweight      100 lb
540 shortquarter            25 lb
541 siemens                 /ohm
542 sigma                   microsec
543 skein                   120 yd
544 skot                    1e-3 apostilb
545 slug                    lb-g-sec2/ft
546 smoot                   67 in
547 span                    9 in
548 spat                    4 pi sr
549 spindle                 14400 yd
550 square                  100 ft2
551 stere                   m3
552 sthene                  1e+3 nt
553 stilb                   cd/cm2
554 stoke                   1e-4 m2/sec
555 stone                   14 lb
556 strike                  2 bu
557 surveyfoot              british-ft
558 surveyyard              3 surveyfoot
559 surveyorschain          66 ft
560 surveyorslink           66|100 ft
561 tablespoon              4 fldr
562 teaspoon                4|3 fldr
563 tesla                   weber/m2
564 therm                   1e+5 btu
565 thermie                 1e+6 cal
566 timberfoot              ft3
567 tnt                     4.6e+6 m2/sec2
568 tonne                   1e+6 gm
569 torr                    mm hg
570 township                36 mi2
571 tun                     8 barrel
572 U                       rackunit
573 water                   gram g / cc
574 wey                     40 bu
575 weymass                 252 lb
576 Xunit                   1.00202e-13 m
577 k                       1.38047e-16 erg/degC
580 degC                    K
581 kelvin                  K
582 brewster                1e-12 m2/newton
583 degF                    5|9 degC
584 degreesrankine          degF
585 degrankine              degreesrankine
586 degreerankine           degF
587 degreaumur              10|8 degC
588 drachm                  60 grain
589 poncelet                100 kg m g / sec
590 denier                  .05|450 gram / m
591 tex                     .001 gram / m
592 englishell              45 inch
593 scottishell             37.2 inch
594 flemishell              27 inch
595 planck                  6.626e-34 joule-sec
596 hbar                    1.055e-34 joule-sec
597 electronmass            9.1095e-31 kg
598 protonmass              1.6726e-27 kg
599 neutronmass             1.6606e-27 kg
600 V                       volt
601 eV                      e V
602 bohrradius              hbar2-C2/8.988e9 N m2-e2-electronmass
603 becquerel               1|3.7e10 curie
604 fresnel                 1e12 hertz
605 statcoul                1|2.99792458e9 coul
606 statamp                 1|2.99792458e9 amp
607 statvolt                2.99792458e2 volt
608 statcoulomb             statcoul
609 statampere              statamp
610 debye                   3.336e-30 coul-m
611 pulsatance              2 pi/sec
612 rpm                     rev/minute
613 rps                     rev/sec
614 kilohm                  kiloohm
615 megohm                  megaohm
616 siderealyear            365.256360417 day
617 siderealday             23.934469444 hour
618 siderealhour            1|24 sidereal day
619 lunarmonth              29.5305555 day
620 synodicmonth            lunarmonth
621 siderealmonth           27.32152777 day
622 tropicalyear            year
623 solaryear               year
624 lunaryear               12 lunarmonth
625 cran                    37.5 brgallon
626 kip                     1000 lbf
627 frenchfoot              16|15 ft
628 frenchfeet              frenchfoot
629 toise                   6 frenchfeet
630 sievert                 8.4 rontgen
631 candle                  1.02 candela
632 militarypace            2.5 feet
633 metre                   meter
634 litre                   liter
635 gramme                  gram
636 iudiptheria             62.8 microgram
637 iupenicillin            .6 microgram
638 iuinsulin               41.67 microgram
639 cottonyarncount         2520 ft/pound
640 linenyarncount          900 ft/pound
641 worstedyarncount        1680 ft/pound
642 metricyarncount         meter/gram
643 jewlerspoint            2 milligram