GNU bug report logs - #35608
26.2; Calc temperature conversions

Previous Next

Package: emacs;

Reported by: "Harris, Bill" <wsharris <at> snopud.com>

Date: Mon, 6 May 2019 20:10:01 UTC

Severity: minor

Tags: notabug

Found in version 26.2

Done: npostavs <at> gmail.com

Bug is archived. No further changes may be made.

Full log


Message #16 received at 35608 <at> debbugs.gnu.org (full text, mbox):

From: npostavs <at> gmail.com
To: "Harris\, Bill" <wsharris <at> snopud.com>
Cc: Mauro Aranda <maurooaranda <at> gmail.com>,
 "35608 <at> debbugs.gnu.org" <35608 <at> debbugs.gnu.org>
Subject: Re: bug#35608: 26.2; Calc temperature conversions
Date: Mon, 13 May 2019 10:50:01 -0400
close 35608
quit

"Harris, Bill" <wsharris <at> snopud.com> writes:

> Thank you, Mauro.  I thought it gave absolute temperatures in previous
> versions (26.1, for example), but I just checked on version 25.1, and
> it, too, does as you say.

Right, see also (info "(calc) Basic Operations on Units") or
<https://www.gnu.org/software/emacs/manual/html_node/calc/Basic-Operations-on-Units.html>,
which has exactly this example conversion:

       The ‘u c’ command treats temperature units (like ‘degC’ and ‘K’) as
    relative temperatures.  For example, ‘u c’ converts ‘10 degC’ to ‘18
    degF’: A change of 10 degrees Celsius corresponds to a change of 18
    degrees Fahrenheit.  To convert absolute temperatures, you can use the
    ‘u t’ (‘calc-convert-temperature’) command.  The value on the stack must
    be a simple units expression with units of temperature only.  This
    command would convert ‘10 degC’ to ‘50 degF’, the equivalent temperature
    on the Fahrenheit scale.





This bug report was last modified 6 years and 4 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.