From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ulrich =?UTF-8?Q?M=C3=BCller?= Newsgroups: gmane.emacs.bugs Subject: bug#33412: 27.0.50; [PATCH] Update the calc units table Date: Sat, 17 Nov 2018 12:00:28 +0100 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1542452354 26060 195.159.176.226 (17 Nov 2018 10:59:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 17 Nov 2018 10:59:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: 33412@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 17 11:59:10 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gNyJi-0006f1-0a for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Nov 2018 11:59:10 +0100 Original-Received: from localhost ([::1]:48763 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gNyLo-0006fL-AQ for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Nov 2018 06:01:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49222) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gNyLZ-0006dq-HQ for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2018 06:01:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gNyLW-0003y7-CL for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2018 06:01:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52844) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gNyLW-0003y1-9J for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2018 06:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gNyLW-0003uO-2v for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2018 06:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ulrich =?UTF-8?Q?M=C3=BCller?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Nov 2018 11:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.154245244914996 (code B ref -1); Sat, 17 Nov 2018 11:01:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Nov 2018 11:00:49 +0000 Original-Received: from localhost ([127.0.0.1]:57102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gNyLI-0003tn-HQ for submit@debbugs.gnu.org; Sat, 17 Nov 2018 06:00:48 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gNyLG-0003ta-Jn for submit@debbugs.gnu.org; Sat, 17 Nov 2018 06:00:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gNyLA-0003qV-0b for submit@debbugs.gnu.org; Sat, 17 Nov 2018 06:00:41 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:58163) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gNyL9-0003qR-UB for submit@debbugs.gnu.org; Sat, 17 Nov 2018 06:00:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gNyL8-0006a9-P3 for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2018 06:00:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gNyL5-0003pO-Kp for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2018 06:00:38 -0500 Original-Received: from dev.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4]:60303 helo=smtp.gentoo.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gNyL5-0003oP-C1 for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2018 06:00:35 -0500 Original-Received: from a1i15 (host2092.kph.uni-mainz.de [134.93.134.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: ulm) by smtp.gentoo.org (Postfix) with ESMTPSA id C32EA335C39; Sat, 17 Nov 2018 11:00:31 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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: 208.118.235.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:152468 Archived-At: >From 9d39d385708c4f045d63c5169133234ee9480c45 Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Ulrich=3D20M=3DC3=3DBCller?=3D Date: Sat, 17 Nov 2018 11:43:06 +0100 Subject: [PATCH] Update the calc units table On 2018-11-16, the 26th meeting of the General Conference on Weights and Measures (CGPM) has redefined the International System of Units by adopting fixed values for the Planck constant, the elementary charge, the Boltzmann constant, and the Avogadro constant: https://www.bipm.org/utils/en/pdf/CGPM/Draft-Resolution-A-EN.pdf * lisp/calc/calc-units.el (math-standard-units): Update according to redefinition of the SI in 2018. --- lisp/calc/calc-units.el | 41 ++++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/lisp/calc/calc-units.el b/lisp/calc/calc-units.el index ab76ded818..17d16acee0 100644 --- a/lisp/calc/calc-units.el +++ b/lisp/calc/calc-units.el @@ -46,6 +46,9 @@ ;; CODATA values updated February 2016, using 2014 adjustment ;; http://arxiv.org/pdf/1507.07956.pdf =20 +;; Updated November 2018 for the redefinition of the SI +;; https://www.bipm.org/utils/en/pdf/CGPM/Draft-Resolution-A-EN.pdf + (defvar math-standard-units '( ;; Length ( m nil "*Meter" ) @@ -118,7 +121,7 @@ ( mph "mi/hr" "*Miles per hour" ) ( kph "km/hr" "Kilometers per hour" ) ( knot "nmi/hr" "Knot" ) - ( c "299792458 m/s" "Speed of light" ) ;;; CODATA + ( c "299792458 m/s" "Speed of light" ) ;; SI definition =20 ;; Acceleration ( ga "980665*10^(-5) m/s^2" "*\"g\" acceleration" nil @@ -207,8 +210,8 @@ ( C "A s" "Coulomb" ) ( Fdy "ech Nav" "Faraday" ) ( e "ech" "Elementary charge" ) - ( ech "1.6021766208*10^(-19) C" "Elementary charge" nil - "1.6021766208 10^-19 C (*)") ;;(approx) CODATA + ( ech "1.602176634*10^(-19) C" "Elementary charge" nil + "1.602176634 10^-19 C") ;; SI definition ( V "W/A" "Volt" ) ( ohm "V/A" "Ohm" ) ( =CE=A9 "ohm" "Ohm" ) @@ -256,18 +259,21 @@ ( sr nil "*Steradian" ) =20 ;; Other physical quantities - ;; The values are from CODATA, and are approximate. - ( h "6.626070040*10^(-34) J s" "*Planck's constant" nil - "6.626070040 10^-34 J s (*)") + ;; Unless otherwise mentioned, the values are from CODATA, + ;; and are approximate. + ( h "6.62607015*10^(-34) J s" "*Planck's constant" nil + "6.62607015 10^-34 J s") ;; SI definition ( hbar "h / (2 pi)" "Planck's constant" ) ;; Exact - ( mu0 "4 pi 10^(-7) H/m" "Permeability of vacuum") ;; E= xact - ( =CE=BC0 "mu0" "Permeability of vacuum")= ;; Exact - ( eps0 "1 / (mu0 c^2)" "Permittivity of vacuum" ) + ;; After the 2018 SI redefinition, eps0 and mu0 are measured quantitie= s, + ;; and mu0 no longer has the previous exact value of 4 pi 10^(-7) H/m. + ( eps0 "ech^2 / (2 alpha h c)" "Permittivity of vacuum" ) ( =CE=B50 "eps0" "Permittivity of vacuum" ) + ( mu0 "1 / (eps0 c^2)" "Permeability of vacuum") ;; E= xact + ( =CE=BC0 "mu0" "Permeability of vacuum")= ;; Exact ( G "6.67408*10^(-11) m^3/(kg s^2)" "Gravitational constant" = nil "6.67408 10^-11 m^3/(kg s^2) (*)") - ( Nav "6.022140857*10^(23) / mol" "Avogadro's constant" nil - "6.022140857 10^23 / mol (*)") + ( Nav "6.02214076*10^(23) / mol" "Avogadro's constant" nil + "6.02214076 10^23 / mol") ;; SI definition ( me "9.10938356*10^(-31) kg" "Electron rest mass" nil "9.10938356 10^-31 kg (*)") ( mp "1.672621898*10^(-27) kg" "Proton rest mass" nil @@ -280,12 +286,10 @@ "1.883531594 10^-28 kg (*)") ( Ryd "10973731.568508 /m" "Rydberg's constant" nil "10973731.568508 /m (*)") - ( k "1.38064852*10^(-23) J/K" "Boltzmann's constant" nil - "1.38064852 10^-23 J/K (*)") - ( sigma "5.670367*10^(-8) W/(m^2 K^4)" "Stefan-Boltzmann constant" n= il - "5.670367 10^-8 W/(m^2 K^4) (*)") - ( =CF=83 "sigma" "Stefan-Boltzmann constant" nil - "5.670367 10^-8 W/(m^2 K^4) (*)") + ( k "1.380649*10^(-23) J/K" "Boltzmann's constant" nil + "1.380649 10^-23 J/K") ;; SI definition + ( sigma "2 pi^5 k^4 / (15 h^3 c^2)" "Stefan-Boltzmann constant") + ( =CF=83 "sigma" "Stefan-Boltzmann constan= t") ( alpha "7.2973525664*10^(-3)" "Fine structure constant" nil "7.2973525664 10^-3 (*)") ( =CE=B1 "alpha" "Fine structure constant= " nil @@ -298,8 +302,7 @@ "-928.4764620 10^-26 J/T (*)") ( mup "1.4106067873*10^(-26) J/T" "Proton magnetic moment" nil "1.4106067873 10^-26 J/T (*)") - ( R0 "8.3144598 J/(mol K)" "Molar gas constant" nil - "8.3144598 J/(mol K) (*)") + ( R0 "Nav k" "Molar gas constant") ;; Exact ( V0 "22.710947*10^(-3) m^3/mol" "Standard volume of ideal gas"= nil "22.710947 10^-3 m^3/mol (*)") ;; Logarithmic units --=20 2.19.1