After browsing the /usr/share/units/units.dat file, I discovered that
degC and degF are used for temperature differences (i.e., a temperature
change of 100 degC is equivalent to 180 degF), not absolute temperature
conversion.  The functions tempC and tempF (among others) are used for
absolute temperature conversion.  For example:

virt...@virtual-desktop:~$ units -v
2411 units, 71 prefixes, 33 nonlinear units

You have: tempC(100)
You want: tempF
        tempC(100) = tempF(212)
You have: tempF(32)
You want: tempC
        tempF(32) = tempC(0)
You have: tempK(273.15)
You want: tempF
        tempK(273.15) = tempF(32)
You have:

-- 
/usr/bin/units - Incorrect Temperature Conversions
https://bugs.launchpad.net/bugs/613581
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to