Eitan Adler
fa3fb62bff
units(1): Convert units.lib to use '#' instead of '/'.
...
This allows us to run GNU units against our data files and compare the output.
In addition, current units(1) does not support '/' as a comment at all.
2014-07-05 03:27:31 +00:00
Eitan Adler
212168f867
units(1): fix spelling
...
Pointyhat to: me
2014-04-07 01:52:35 +00:00
Eitan Adler
e15ad0da3d
units(1): Add some some additional units
...
Most of these are also recognized by GNU units
2014-04-07 01:46:30 +00:00
Eitan Adler
0333a5a1e2
units(1): Add some missing units
2014-03-30 05:06:06 +00:00
Eitan Adler
e90cd7efd8
Teach units(1) that an erg and ergon are the same thing.
2014-03-30 04:55:33 +00:00
David Malone
d642560225
Let units deal with Gas Mark and Stufe.
2014-02-06 15:55:29 +00:00
David Malone
9c95bc1c1c
Add limited support for units that are related by affine rather
...
than linear relations. We can now convert degC to degF.
586 units, 56 prefixes
You have: 24 degC
You want: degF
75.2
You have: degC
You want: K
(-> x*1 +273.15)
(<- y*1 -273.15)
2008-08-16 16:27:41 +00:00
Edwin Groothuis
8ad0fbc8a1
- acificfrancexchange -> pacificfrancexchange
...
- Add comments about the pegged currencies.
Submitted by: GeJ on #bsdports
2008-08-07 05:35:01 +00:00
Edwin Groothuis
5a97b29aa5
Update the units library file.
...
- Merge changes from NetBSD and OpenBSD.
- Add the Euro as a primitive unit, add old converted currency and
pegged currency (Obtained from Wikipedia)
- Rename "dollar" to "usdollar" as primitive unit, remove non-pegged
currency and add pegged currency (Obtained from Wikipedia)
- Updated the accuracy of a lot of constants (Obtained from Wikipedia)
PR: bin/106545 bin/88252
Submitted by: trasz<trasz@pin.if.uz.zgora.pl>, J Vinopal <banshee@abattoir.com>
Approved by: bde@ (mentor)
MFC after: 1 week
2008-08-07 00:14:56 +00:00
David Malone
b0286e3d31
Use miligram rather than mg in the definition of carats.
...
PR: 61451
Submitted by: Tony Monroe <tmonroe+freebsd@nog.net>
2004-05-30 16:09:12 +00:00
Matthew Hunt
ed642a38dd
Add r_earth, r_moon, r_sun, representing the terrestrial, lunar, and
...
solar radii. The corresponding masses (m_earth, etc.) were already
present.
Source: "An Introduction to Modern Astrophysics," Carroll & Ostlie.
2003-11-05 22:29:48 +00:00
Tom Hukins
8b582d6ee0
Add the British hundredweight (brhundredweight). For discussion, see:
...
http://london.pm.org/pipermail/london.pm/Week-of-Mon-20030630/019926.html
For a definition, see:
http://www.bartleby.com/61/55/H0325500.html
Also add some more computing terms described at:
http://www.wikipedia.org/wiki/Integral_data_type
Reviewed by: dwmalone
MFC after: 2 weeks
2003-07-01 10:33:27 +00:00
Joerg Wunsch
6038d8a3b9
The rate between EUR and USD has never been as large as our old value
...
(1.12) since the introductions as a common EU currency. Anyway, since
the rate now seems to stabilize just around 1.00, fix up our value
here.
MFC after: 1 day
2002-07-09 08:47:03 +00:00
Josef Karthauser
60c3e0f72a
Add tbl and tbsp as contractions of tablespoon, and tsp for teaspoon.
...
Submitted by: banshee <banshee@pork.abattoir.com>
MFC after: 7 days
2001-12-18 11:25:58 +00:00
Dima Dorfman
6b0b1ebfc5
Correct a typo.
...
PR: 22885
Submitted by: Rene de Vries <rene@tunix.nl>
2001-06-01 02:53:32 +00:00
Eric Melville
e0ce2384ac
Add some gravitational values.
...
Approved by: murray
2001-05-12 21:21:38 +00:00
David Malone
357c2d78c4
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...
2001-02-28 16:00:32 +00:00
David Malone
43cb2008e4
Correct spelling of millennium.
...
PR: 24369
Submitted by: Tony Finch <dot@dotat.at>
2001-01-16 10:07:04 +00:00
Bill Fumerola
4dd97a3440
Add 'shot', using the definition used by bars and shotglasses.
2000-08-27 22:02:42 +00:00
Joerg Wunsch
5a19405177
No such thing like `southamericarand' when Rand is the currency of ZA...
2000-04-18 16:37:43 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Jean-Marc Zucconi
cf4b2350b9
Add euro-currency and constant rates of EMU area.
...
PR: bin/9263
Submitted by: Timo J. Rinne <tri@freebsd.org>
1999-05-22 02:01:59 +00:00
Peter Wemm
c115df18cd
Revert $FreeBSD$ to $Id$
1997-02-22 19:58:13 +00:00
Jordan K. Hubbard
1130b656e5
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Alexander Langer
a303171509
Units conversion utility courtesy of NetBSD.
...
Submitted by: Jeremy Prior
Obtained from: NetBSD
1996-06-08 03:43:43 +00:00