]> git.eshelyaron.com Git - emacs.git/commitdiff
Update astronomical length units in Calc
authorUlrich Müller <ulm@gentoo.org>
Tue, 10 Oct 2023 09:58:03 +0000 (11:58 +0200)
committerUlrich Müller <ulm@gentoo.org>
Tue, 10 Oct 2023 13:00:12 +0000 (15:00 +0200)
* lisp/calc/calc-units.el (math-standard-units): Update the
astronomical unit and the parsec, using their definitions by the
International Astronomical Union.

lisp/calc/calc-units.el

index 480b0bd818da6518f06069cb2f1290b4196bd27d..b0f31633bbb2bc5bb4379bb0ea51fa44efd59353 100644 (file)
     ( ft      "12 in"                "Foot")
     ( yd      "3 ft"                 "Yard" )
     ( mi      "5280 ft"              "Mile" )
-    ( au      "149597870691. m"      "Astronomical Unit" nil
-              "149597870691 m (*)")
-              ;; (approx) NASA JPL (https://neo.jpl.nasa.gov/glossary/au.html)
+    ( au      "149597870700 m"       "Astronomical Unit")
+              ;; "149 597 870 700 m exactly"
+              ;; http://www.iau.org/static/resolutions/IAU2012_English.pdf
     ( lyr     "c yr"                 "Light Year" )
-    ( pc      "3.0856775854*10^16 m" "Parsec  (**)" nil
-              "3.0856775854 10^16 m (*)") ;; (approx) ESUWM
+    ( pc      "(648000/pi) au"       "Parsec (**)")
+              ;; "The parsec is defined as exactly (648 000/π) au"
+              ;; http://www.iau.org/static/resolutions/IAU2015_English.pdf
     ( nmi     "1852 m"               "Nautical Mile" )
     ( fath    "6 ft"                 "Fathom" )
     ( fur     "660 ft"               "Furlong")