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