Bug 54971 - Farenheit-to-Celcius conversion incorrect
Summary: Farenheit-to-Celcius conversion incorrect
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: units
Version: 7.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-10-23 20:56 UTC by Jay Turner
Modified: 2015-01-07 23:52 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-04-22 18:53:11 UTC
Embargoed:


Attachments (Terms of Use)

Description Glen Foster 2001-10-23 20:56:16 UTC
Description of Problem: units says 212 degF == 117.77778 degC
(should be 100.0)

Version-Release number of selected component (if applicable):
units-1.55-10

How Reproducible:
100%

Steps to Reproduce:
1. units "212 degF" "degC"
2. 
3. 

Actual Results:
	* 117.77778
	/ 0.008490566


Expected Results: 100 degrees Celcius	

Additional information: behaves the same on is86, found first on s390

Comment 1 Harald Hoyer 2001-12-14 15:47:30 UTC
fixed by units-1.74-1


Comment 2 Ben Levenson 2002-04-22 18:53:05 UTC
I get the same results with units-1.74-1.  
changing back to ASSIGNED.

Comment 3 Harald Hoyer 2002-04-23 11:09:06 UTC
According to unit.info, this is the right command: 
$ units 'tempF(212)' 'tempC' 
        100 
 
If you take units, the formula is correct. 
$ units "degF" "degC" 
        * 0.55555556 
        / 1.8 
 
delta(Temperature in degF) = 1.8 * delta(Temperature in degC) 



Note You need to log in before you can comment on or make changes to this bug.