[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error in the units conversion in calc-embedded
From: |
Michael Heerdegen |
Subject: |
Re: Error in the units conversion in calc-embedded |
Date: |
Mon, 26 Feb 2024 03:21:58 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Kepa via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:
> I try to simplify units to m^3/hr:
>
> 3 m^3 / s + 70 m^3 / hr
>
> 1. M-x calc-embedded
> 2. u c
> - Old units: m^3/s
> - New utis: m^3/hr
>
> Result is OK, but units are wrong:
>
> 10870. m^3 / s
Hmm - the correct result 10870 m^3 / hr - so the result from Calc is
mathematically wrong. calc-embedded is not related, this happens in
"standard" Calc also.
Could you please make a bug report?
BTW, you should get the correct result when you first simplify units (u
s) and convert afterwards. Unit conversion seems to get confused
when the expression is a sum of summands in different units.
TIA,
Michael.