Module Name: src Committed By: dholland Date: Mon Mar 28 00:08:47 UTC 2011
Modified Files: src/usr.bin/units: units.lib Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/usr.bin/units/units.lib Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/units/units.lib diff -u src/usr.bin/units/units.lib:1.14 src/usr.bin/units/units.lib:1.15 --- src/usr.bin/units/units.lib:1.14 Thu Feb 15 22:37:27 2007 +++ src/usr.bin/units/units.lib Mon Mar 28 00:08:47 2011 @@ -1,4 +1,4 @@ -/ $NetBSD: units.lib,v 1.14 2007/02/15 22:37:27 dogcow Exp $ +/ $NetBSD: units.lib,v 1.15 2011/03/28 00:08:47 dholland Exp $ / primitive units @@ -378,6 +378,7 @@ btu britishthermalunit refrigeration 12000 btu/ton-hour buck dollar +Ci curie cable 720 ft caliber 1e-2 in calorie cal @@ -430,6 +431,7 @@ franklin 3.33564e-10 coul frigorie kilocal furlong 220 yd +Gy gray galileo 1e-2 m/sec2 gamma 1e-9 weber/m2 gauss 1e-4 weber/m2 @@ -437,6 +439,7 @@ geographicalmile 1852 m gilbert 7.95775e-1 amp gill 1|4 pt +gray joule/kg gross 144 gunterschain 22 yd hand 4 in @@ -518,17 +521,21 @@ quartersection 1|4 mi2 quintal 100 kg quire 25 +R roentgen rackunit 1.75 in rad 100 erg/gm ream 500 registerton 100 ft3 +rem 1e-2 sievert rhe 10 m2/nt-sec -rontgen 2.58e-4 curie/kg +roentgen 2.58e-4 coulomb/kg +rontgen roentgen rood 1.21e+3 yd rope 20 ft RU rackunit rutherford 1e+6 /sec rydberg 1.36054e+1 ev +Sv sievert sabin 1 ft2 sack 3 bu score 20 @@ -539,6 +546,7 @@ shorthundredweight 100 lb shortquarter 25 lb siemens /ohm +sievert joule/kg sigma microsec skein 120 yd skot 1e-3 apostilb @@ -627,7 +635,6 @@ frenchfoot 16|15 ft frenchfeet frenchfoot toise 6 frenchfeet -sievert 8.4 rontgen candle 1.02 candela militarypace 2.5 feet metre meter