Bug 1147703
Summary: | floating point under/overflows prevent unit conversion | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Przemek Klosowski <przemek> |
Component: | units | Assignee: | Kamil Dudka <kdudka> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 20 | CC: | kdudka, lnie, przemek |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | units-2.11-4.fc21 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-10-22 08:53:48 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Przemek Klosowski
2014-09-29 22:16:38 UTC
Sorry for the delay, I have been on vacation. The error no longer occurs with units-2.11-3.fc22. Is the following a correct response? $ units Currency exchange rates from www.timegenie.com on 2014-04-02 2866 units, 109 prefixes, 79 nonlinear units You have: sigma^3 You want: Definition: 1.8232019e-22 kg^3 / K^12 s^9 I believe that is correct. Thanks for the confirmation! I will submit an update of units for Fedora 20. AFAIK, the upstream of units provides no SCM repository to pick the fix from, and there were too many changes between units-2.02 and units-2.11 (fixes, enhancements, indentation changes, ...): $ diff -up ./units-2.02/units.c ./units-2.11/units.c | diffstat units.c | 3639 ++++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 2415 insertions(+), 1224 deletions(-) So I will just rebase units in Fedora 20 to the version we have in Fedora 21... units-2.11-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/units-2.11-1.fc20 Package units-2.11-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing units-2.11-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-12629/units-2.11-1.fc20 then log in and leave karma (feedback). units-2.11-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/units-2.11-2.fc20 units-2.11-4.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/units-2.11-4.fc21 units-2.11-2.fc20 works units-2.11-2.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. units-2.11-4.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |