Bug 96982 - parsec is defined incorrectly
parsec is defined incorrectly
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: units (Show other bugs)
9
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Harald Hoyer
Ben Levenson
:
: 97928 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-06-07 16:13 EDT by Thomas Quinn
Modified: 2007-04-18 12:54 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-06-16 07:19:56 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Thomas Quinn 2003-06-07 16:13:35 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

Description of problem:
In /usr/share/units.dat parsec is defined as:
parsec                  au / tan(arcsec)

which looks correct except that "au" is interpreted as "attoatomicmassunit" not
"astronomicalunit".  The "au" needs to be spelled out to avoid the confusion.



Version-Release number of selected component (if applicable):
units-1.80-4

How reproducible:
Always

Steps to Reproduce:
1. Type "units"
2.  Type "parsecs"
3. Type "km"

Actual Results:  2083 units, 71 prefixes, 32 nonlinear units
 
You have: parsecs
You want: km
conformability error
        3.425107e-40 kg
        1000 m
You have:


Expected Results:  It should have returned the number of kilometers in a parsec.

Additional info:
Comment 1 Harald Hoyer 2003-06-24 05:15:20 EDT
*** Bug 97928 has been marked as a duplicate of this bug. ***

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