Units does not handle tempR and tempK in a fashion consistent with tempC
and tempK due to the absence of definitions of tempR() and tempK()
functions.  Here is a patch:

--- units.dat   2007-09-26 23:24:22.000000000 +0000
+++ /usr/share/misc/units.dat   2011-06-12 01:00:03.000000000 +0000
@@ -685,7 +685,7 @@
 degrankine              degreesrankine    # Fahrenheit degree, but it's zero
 degreerankine           degF              # is at absolute zero.
 degR                    degrankine
-tempR                   degrankine
+tempR(x)                [;K] x degF ; (tempR)/degF
 temprankine             degrankine
 
 tempreaumur(x) [;K] x degreaumur+stdtemp ; (tempreaumur+(-stdtemp))/degreaumur 
@@ -697,7 +697,7 @@
                                   # divisible by many numbers.
 
 degK                    K         # "Degrees Kelvin" is forbidden usage.
-tempK                   K         # For consistency.  
+tempK(x)                [;K] x K  ; (tempK)/K
 
 # Gas mark is implemented below but in a terribly ugly way.  There is
 # a simple formula, but it requires a conditional which is not


-- 
John Hasler 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to