|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
|
| #
1.30 |
|
20-Nov-2022 |
jakllsch |
Extend units.lib with prefixes from Resolution 3 of the 27th meeting of CGPM.
|
| #
1.29 |
|
24-Oct-2022 |
dholland |
Some more corrections/additions in units.lib:
1. cables; US cables are 720 ft, but international cables are 1/10 nautical mile and UK Admiralty cables are 1/10 of 1853.2 meters instead of 1852 meters. Make "cable" refer to the international definition, and add "uscable" and "admiraltycable".
2. rods and chains. US rods and chains and furlongs are defined in terms of US survey feet, not international feet. Since the US is apparently working on retiring survey feet, it seems like the best way forward on this is to define two sets of these units, one prefixed with "us". Also since this file was inconsistent about using "survey" vs. "surveyors", fill in more duplicates.
Furthermore, Gunter's rods and chains and links are as best I can tell the same as the international ones, so since we already have "gunterschain" add "guntersrod" and "gunterslink".
3. If we're going to make pf a special abbreviation for picofarad, it's reasonable to make uf a special abbreviation for microfarad, and if we're going to define "meg" for "megabyte" we should also have "gig".
4. A "franklin" _is_ a statcoulomb, not an approximation of one.
5. "jewel" has two Es.
|
| #
1.28 |
|
24-Oct-2022 |
dholland |
units.lib: fix "surveyfoot" and kill off "british".
The US survey foot is defined as 1200/3937 of a meter, whereas the ordinary international foot is 0.3048 meter. These are almost, but not quite the same.
Define the survey foot this way instead of defining an adjective unit for the conversion, which is much less confusing even if the adjective unit had a reasonable name. For the time being the fact that it was called "british" remains thoroughly obscure.
|
| #
1.27 |
|
24-Oct-2022 |
dholland |
Reorganize units.lib.
It's all very well to file miscellaneous old units under "trivia" but it's more useful to sort first by type and then by creakiness.
No functional change intended.
|
| #
1.26 |
|
15-Feb-2022 |
jakllsch |
Define becquerels in base units (like curies and rutherfords already are), rather than in terms of curies.
Add symbol Bq for becquerel.
|
| #
1.25 |
|
15-Feb-2022 |
jakllsch |
fix inconsistent whitespace in units.lib
|
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
| #
1.24 |
|
23-Apr-2020 |
kre |
If we're having Thai units, make them correct. A tarangwah is a square wah, which is ~4m^2 but not exactly (just as a wah is not exactly 2m, but close). (wah apparently comes from the width of a person with hands outstretched...)
|
| #
1.23 |
|
22-Apr-2020 |
scole |
Add troyounce
|
| #
1.22 |
|
22-Apr-2020 |
scole |
On second thought, don't include more than one spelling for thai units
|
| #
1.21 |
|
22-Apr-2020 |
scole |
Add more Thai length, area and weight units
|
|
Revision tags: netbsd-8-3-RELEASE netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
|
| #
1.20 |
|
21-Mar-2017 |
scole |
Add most common thai length/area measurements of wah rai ngan
|
|
Revision tags: pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
| #
1.19 |
|
05-Feb-2016 |
dholland |
branches: 1.19.2; 1.19.4; File watt in the right group, and accept W as well, as that's quite standard.
|
| #
1.18 |
|
20-Sep-2015 |
martin |
Add tera- and peta-bytes.
|
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 tls-maxphys-base
|
| #
1.17 |
|
28-Dec-2012 |
apb |
Rename "tappit-hen" to "tappithen" because unit names cannot contain hyphens. Also change the definition from "3 imperial" (a dimensionless quantity) to "3 bottle" (2.25 litres). Wikipedia and several other web sites say 3 bottles or 2.25 litres, but <http://www.christies.com/lotfinder/wine/chateau-lafite-rothschild-vintage-1811-1-tappit-hen-per-4992576-details.aspx> says:
There seems to be no firm definition of the bottle size referred to as "tappit-hen". Believed to be of Scottish origin, a tappit-hen can vary, according to which definition one follows, from 1 1/2 bottles to a tregnum or 3-bottle bottle. It is safest to say that it approximates to a magnum.
and ends with:
1 Tappit-Hen (2.25 liters) per lot
|
| #
1.16 |
|
28-Dec-2012 |
apb |
Fix references to undefined units: * "southamericarand" should be "southafricarand"; * "sidereal day" should be "siderealday"; * "perusol" should be "perunewsol".
|
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base
|
| #
1.15 |
|
28-Mar-2011 |
dholland |
branches: 1.15.4; 1.15.10; Update radioactivity-related units from http://physics.nist.gov/cuu/Units/. The prior definition of sievert was, as far as I can tell, entirely wrong.
Caution: while "gray" and "sievert" have the same dimensionality, they're not interchangeable -- you need to multiply by a fudge factor that varies depending on the type of radiation and the tissue it's affecting. (Dimensional analysis is often not a substitute for knowing what you're doing.)
It would be nice if units had a way to warn users when they're trying to do something that doesn't make sense, since there are lots of ways to do so, but it doesn't, and it wouldn't be easy to arrange in the general case.
|
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 mjf-devfs2-base wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
|
| #
1.14 |
|
15-Feb-2007 |
dogcow |
dipotre -> dioptre. (nobody's noticed this typo since the file was originally added in 1993...)
|
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-4-base chap-midi-nbase netbsd-3-0-1-RELEASE chap-midi-base netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
|
| #
1.13 |
|
01-Feb-2005 |
groo |
A hogshead is defined in the U.S. to be 63 gallons, and otherwise refers to a volume unit of varying capacity (betwen 63 and 140(!)) gallons.
Since the U.S. is the only place it is defined, and I can find little evidence to support the "barrel" definition, make it 63 gallons.
Like everything, this was prompted by the Simpsons.
"The metric system is a tool of the devil! My car gets 40 rods to the hogshead, and that's the way I likes it!"
-- Abe Simpson
|
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
| #
1.12 |
|
23-Aug-2003 |
atatat |
Remove jeroboam, magnum, and rehoboam from the "trivia" section and put them in another section with all the other bottles (the new aptly named "bottles" section).
Also, add shed (1e-24 barn).
|
| #
1.11 |
|
12-Aug-2003 |
dogcow |
add the smoot
|
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 fvdl_fs64_base netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
|
| #
1.10 |
|
04-Nov-2001 |
groo |
Add ``score'' (20) to trivia section.
|
| #
1.9 |
|
16-Oct-2001 |
bjh21 |
While I'm here, for those currencies that have a fixed exchange rate against the Euro (BEF, DEM, ESP, FRF, IEP, ITL, LUF, NLG, ATS, PTE, FIM, GRD), use that exchange rate.
|
| #
1.8 |
|
16-Oct-2001 |
bjh21 |
Add "rackunit" (alias "RU" or "U").
|
| #
1.7 |
|
30-Jan-2001 |
wiz |
Add 's' to netherlandguilder. Fixes bin/12082 by Benjamin Wong.
|
| #
1.6 |
|
30-Jan-2001 |
mjl |
Tyop: millennium, not millenium (FreeBSD PR/24369)
|
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-4-PATCH003 netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base netbsd-1-4-PATCH002 wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
|
| #
1.5 |
|
15-Mar-1999 |
hubertf |
Add euro, per PR 6898 by Anders Magnusson <ragge@ludd.luth.se> Value taken from www.deutsche-bank.de.
|
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
|
| #
1.4 |
|
09-Jan-1997 |
tls |
RCS ID police
|
|
Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
|
| #
1.3 |
|
06-Apr-1996 |
thorpej |
RCS Id police.
|
|
Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
|
| #
1.2 |
|
13-Aug-1995 |
cgd |
fix bugs (missing spaces) in definitions of nmile an Xunit, as pointed out by John F. Woods <jfw@jfwhome.funhouse.com>.
|
|
Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
|
| #
1.1 |
|
27-Oct-1993 |
cgd |
add units command, written by Adrian Mariano (adrian@cam.cornell.edu or mariano@geom.umn.edu), cleaned up, KNF'd, etc., by cgd
|