>From the man page:

       Nonlinear units are represented using functional notation.  They
       make possible nonlinear unit conversions such temperature.  This
       is different from the linear units that convert temperature
       differences.  Note the difference below.  The absolute
       temperature conversions are handled by units starting with
       `temp', and you must use functional notation.  The temperature
       differences are done using units starting with `deg' and they do
       not require functional notation.

           You have: tempF(45)
           You want: tempC
                   7.2222222

           You have: 45 degF
           You want: degC
                   * 25
                   / 0.04

       Think of `tempF(x)' not as a function but as a notation which
       indicates that `x' should have units of `tempF' attached to it.
       See Nonlinear units.  The first conversion shows that if it's 45
       degrees Fahrehneit outside it's 7.2 degrees Celsius.  The second
       conversions indicates that a change of 45 degrees Fahrenheit
       corresponds to a change of 25 degrees Celsius.


However:

You have: tempF(-459.67)
You want: tempC
        -273.15
You have: tempF(-459.67)
You want: tempK
        * -5.6843419e-14
        / -1.7592186e+13
You have: tempC(-273.15)
You want: tempK
        * 0
        / inf


The temperature function appears not to work for Kelvin: a bug.  I'll
send it upstream.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



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