History log of /freebsd-9.3-release/usr.bin/units/units.lib
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 181786 16-Aug-2008 dwmalone

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)


# 181357 07-Aug-2008 edwin

- acificfrancexchange -> pacificfrancexchange
- Add comments about the pegged currencies.

Submitted by: GeJ on #bsdports


# 181352 06-Aug-2008 edwin

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


# 129873 30-May-2004 dwmalone

Use miligram rather than mg in the definition of carats.

PR: 61451
Submitted by: Tony Monroe <tmonroe+freebsd@nog.net>


# 122143 05-Nov-2003 mph

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.


# 117103 01-Jul-2003 tom

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


# 99644 09-Jul-2002 joerg

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


# 88125 18-Dec-2001 joe

Add tbl and tbsp as contractions of tablespoon, and tsp for teaspoon.

Submitted by: banshee <banshee@pork.abattoir.com>
MFC after: 7 days


# 77566 01-Jun-2001 dd

Correct a typo.

PR: 22885
Submitted by: Rene de Vries <rene@tunix.nl>


# 76524 12-May-2001 eric

Add some gravitational values.

Approved by: murray


# 73230 28-Feb-2001 dwmalone

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...


# 71104 16-Jan-2001 dwmalone

Correct spelling of millennium.

PR: 24369
Submitted by: Tony Finch <dot@dotat.at>


# 65138 27-Aug-2000 billf

Add 'shot', using the definition used by bars and shotglasses.


# 59370 18-Apr-2000 joerg

No such thing like `southamericarand' when Rand is the currency of ZA...


# 50477 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 47377 22-May-1999 jmz

Add euro-currency and constant rates of EMU area.

PR: bin/9263
Submitted by: Timo J. Rinne <tri@freebsd.org>


# 23012 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21673 14-Jan-1997 jkh

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.


# 16187 08-Jun-1996 alex

This commit was generated by cvs2svn to compensate for changes in r16186,
which included commits to RCS files with non-trunk default branches.


# 16186 08-Jun-1996 alex

Units conversion utility courtesy of NetBSD.

Submitted by: Jeremy Prior
Obtained from: NetBSD