From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Mauro Aranda Newsgroups: gmane.emacs.bugs Subject: bug#35608: 26.2; Calc temperature conversions Date: Mon, 6 May 2019 18:19:26 -0300 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000767e3a05883ea8d9" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="176430"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 35608@debbugs.gnu.org To: "Harris, Bill" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 06 23:20:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hNl1v-000jmx-Ej for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 May 2019 23:20:11 +0200 Original-Received: from localhost ([127.0.0.1]:34112 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNl1u-0007W7-9l for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 May 2019 17:20:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33678) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNl1o-0007W1-2Z for bug-gnu-emacs@gnu.org; Mon, 06 May 2019 17:20:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hNl1n-000378-4y for bug-gnu-emacs@gnu.org; Mon, 06 May 2019 17:20:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44078) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hNl1n-000372-17 for bug-gnu-emacs@gnu.org; Mon, 06 May 2019 17:20:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hNl1m-0002Ts-Qr for bug-gnu-emacs@gnu.org; Mon, 06 May 2019 17:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 May 2019 21:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35608 X-GNU-PR-Package: emacs Original-Received: via spool by 35608-submit@debbugs.gnu.org id=B35608.15571775899499 (code B ref 35608); Mon, 06 May 2019 21:20:02 +0000 Original-Received: (at 35608) by debbugs.gnu.org; 6 May 2019 21:19:49 +0000 Original-Received: from localhost ([127.0.0.1]:57620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNl1Y-0002T4-WC for submit@debbugs.gnu.org; Mon, 06 May 2019 17:19:49 -0400 Original-Received: from mail-lj1-f176.google.com ([209.85.208.176]:33867) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNl1V-0002Sh-71 for 35608@debbugs.gnu.org; Mon, 06 May 2019 17:19:47 -0400 Original-Received: by mail-lj1-f176.google.com with SMTP id s7so6966704ljh.1 for <35608@debbugs.gnu.org>; Mon, 06 May 2019 14:19:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nGqhwdurWhfDDGvRdmwnqWKbtMEFGuzAuLBMNUlJS/Y=; b=LYVYJhMmkSdvu1jyniC+xn9/omEKDNvlZ/odyxB0J/AJ7r7gNhTLbYGKTNdZr7ljaf qyG68wFU+tP/vvkkI//DYVAOQ7zURr+C3iZHS9hLy2IXfDS3MftfgnFlxoU7B66hQk/d ziPP804XOCx1QnwqyK6+lGphyCEMHcpSeHXAnXRD05MbQKE5mG39chyjJy5+lSNz/+z0 UJae7775RRwp2P+yVTjjRG+v4Y5zVsp+nrHpiCPWVV8LRGdAbOKmw3JzQ9IFSXPj9KNS mL0nCKowS1ArDFQs2SUI0N9+kX9DAPqVrooeGSHkPEB9FK7raX9uHWIGbkqQd9hFhlIZ ZFUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nGqhwdurWhfDDGvRdmwnqWKbtMEFGuzAuLBMNUlJS/Y=; b=GqSal41O5XaNC73uv2xIod/C0o/tKOGChk8z8m39Kd0dczld7z+rcDs0Rl8MthMLIw 5xOac3o3Jd1Vy+gvTuuUtCc6f/gPQiogBJbKEiix6ze6xCp47WyW8qYJTDDR8mybhMbm 3jVQaQA70Ln39hqdTJ9pMeIMc4/3zVsfK430umjIj5IrWAZDGmsXHv8Sgks3fHkNP9BW wwB2rLNQqmHtPwHIha46/n3zJli/ibQbTZn0yTj56HQG2kgy6tq7K7XlKtjMcLNSbM3H DoNEdv/h1jNmjn4fjNYW0vyhcbiXSwB7nEMJLG7LuPDvLozzYvu5GH5Uj5vN6GHBwnn3 /yCQ== X-Gm-Message-State: APjAAAW+sA6RpQFLpM+OcOv4Gd1NCOoFZYll/iSmtT/ycwu5OwaRvRLO UYdWgsx5fGAMYiHeTc1+y4ImU1onZkEdDlxEMNo= X-Google-Smtp-Source: APXvYqyttGPOfg0+5sPqc3uOG7mR105/pX+9IjJt5VMz+qnYaIQxCTVO76D6JFN5+p/hdOuVeoFmn+Bwy6YX2YrCl50= X-Received: by 2002:a2e:c41:: with SMTP id o1mr10954309ljd.23.1557177579239; Mon, 06 May 2019 14:19:39 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:158847 Archived-At: --000000000000767e3a05883ea8d9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable tags 35608 notabug quit "Harris, Bill" writes: > I entered '10 degC' and then > u c degF > I got 18, not the expected 50. Hello. That's because =E2=80=98u c=E2=80=99 treats temperature units as relative, = and not as absolute. The result you got means that a change of 10 degrees Celsius equals to a change of 18 degrees Fahrenheit. You need to use =E2=80=98u t=E2=80=99 (calc-convert-temperature) to convert= an absolute temperature from one scale to another. With that command, you'll get the expected 50 degF. Best regards, Mauro. > --000000000000767e3a05883ea8d9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
tags 35608 notabug
quit

"Harris, Bill"= <wsharris@snopud.com> wri= tes:

> I entered '10 degC' and then
> u c degF
&= gt; I got 18, not the expected 50.

Hello.

That's because = =E2=80=98u c=E2=80=99 treats temperature units as relative, and not as
a= bsolute.=C2=A0 The result you got means that a change of 10 degrees Celsius=
equals to a change of 18 degrees Fahrenheit.

You need to use =E2= =80=98u t=E2=80=99 (calc-convert-temperature) to convert an absolute
tem= perature from one scale to another.=C2=A0 With that command, you'll get=
the expected 50 degF.

Best regards,
Mauro.
--000000000000767e3a05883ea8d9--