summaryrefslogtreecommitdiffstats
path: root/usr.bin/units/units.lib
Commit message (Collapse)AuthorAgeFilesLines
* Add limited support for units that are related by affine ratherdwmalone2008-08-161-5/+5
| | | | | | | | | | | | | 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)
* - acificfrancexchange -> pacificfrancexchangeedwin2008-08-071-1/+3
| | | | | | - Add comments about the pegged currencies. Submitted by: GeJ on #bsdports
* Update the units library file.edwin2008-08-071-104/+195
| | | | | | | | | | | | | | - 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
* Use miligram rather than mg in the definition of carats.dwmalone2004-05-301-2/+2
| | | | | PR: 61451 Submitted by: Tony Monroe <tmonroe+freebsd@nog.net>
* Add r_earth, r_moon, r_sun, representing the terrestrial, lunar, andmph2003-11-051-0/+3
| | | | | | | solar radii. The corresponding masses (m_earth, etc.) were already present. Source: "An Introduction to Modern Astrophysics," Carroll & Ostlie.
* Add the British hundredweight (brhundredweight). For discussion, see:tom2003-07-011-0/+7
| | | | | | | | | | | | 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
* The rate between EUR and USD has never been as large as our old valuejoerg2002-07-091-2/+2
| | | | | | | | (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
* Add tbl and tbsp as contractions of tablespoon, and tsp for teaspoon.joe2001-12-181-0/+3
| | | | | Submitted by: banshee <banshee@pork.abattoir.com> MFC after: 7 days
* Correct a typo.dd2001-06-011-1/+1
| | | | | PR: 22885 Submitted by: Rene de Vries <rene@tunix.nl>
* Add some gravitational values.eric2001-05-121-0/+4
| | | | Approved by: murray
* Add missing prefix for nano, I presume this was missing 'cos of thedwmalone2001-02-281-10/+16
| | | | | | | prefix recusrion bug. Remove units which can be derived using prefixes and other units. Add new prefixes for 2^10, 2^20, etc...
* Correct spelling of millennium.dwmalone2001-01-161-1/+1
| | | | | PR: 24369 Submitted by: Tony Finch <dot@dotat.at>
* Add 'shot', using the definition used by bars and shotglasses.billf2000-08-271-0/+1
|
* No such thing like `southamericarand' when Rand is the currency of ZA...joerg2000-04-181-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add euro-currency and constant rates of EMU area.jmz1999-05-221-11/+16
| | | | | PR: bin/9263 Submitted by: Timo J. Rinne <tri@freebsd.org>
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* Units conversion utility courtesy of NetBSD.alex1996-06-081-0/+610
Submitted by: Jeremy Prior Obtained from: NetBSD
OpenPOWER on IntegriCloud