Opened 7 years ago
#11335 new Patches
units: [patch] Improve precision of mmHg conversion to Pascal
Reported by: | Owned by: | Matthias Schabel | |
---|---|---|---|
Milestone: | To Be Determined | Component: | units |
Version: | Boost 1.55.0 | Severity: | Problem |
Keywords: | Cc: |
Description
See attached patch.
The conversion factor used by the existing code only used three decimal places. However, the standardised conversion factor is 9 decimal places, and is also used in GNU units. Changing to use the full 133.322387415 significantly improves accuracy.
I can't put a link in the report since it makes the ticket get rejected as spam, but see the first paragraph of the "Millimeter of mercury" wikepedia page, and GNU units for reference.
Defect is in the latest boost back to at least 1.55.
Please consider applying the attached patch.
Thanks, Roger
Attachments (1)
Change History (1)
by , 7 years ago
Attachment: | 0001-base_units-mmHg-Improve-precision-for-Pascal-convers.patch added |
---|
Note:
See TracTickets
for help on using tickets.
Patch to improve accuracy of mmHg to Pascal conversion