constants update

Jochen Küpper jochen@fhi-berlin.mpg.de
Thu Jan 10 09:02:00 GMT 2008


On 09.01.2008, at 14:54, Richard Mathar wrote:

> On behalf of
> http://sourceware.org/ml/gsl-discuss/2008-q1/msg00008.html
> see also
> http://sourceware.org/ml/gsl-discuss/2006-q1/msg00007.html .


This server (and sources.redhat.com) seems to down! I found your  
message in Google's cache...

AFAICT this patch never made it into GSL, presumably because it is a  
diff for the wrong file. The constants headers are generated from  
const.el, which utilizes alc-units-update.el to override emacs'  
calc.el predefined constants.

Therefore, someone needs to create a patch for calc-units-update.el,  
i.e., as the following:
(The new value is form the old cached message, not directly from  
CODATA.)

Index: calc-units-update.el
===================================================================
RCS file: /cvs/gsl/gsl/const/calc-units-update.el,v
retrieving revision 1.5
diff -u -u -r1.5 calc-units-update.el
--- calc-units-update.el        2 Jul 2007 16:34:25 -0000       1.5
+++ calc-units-update.el        10 Jan 2008 08:58:48 -0000
@@ -34,7 +34,7 @@
      ( e       "1.602176462e-19 C"      "Elementary charge" ) ;; CODATA
      ( ech     "1.602176462e-19 C"      "Elementary charge" ) ;; CODATA
      ;; other physical quantities (CODATA 1998)
-    ( h       "6.62606876e-34 J s"     "*Planck's constant" )
+    ( h       "6.6260693e-34 J s"      "*Planck's constant" ) ;;  
CODATA 2006
      ( hbar    "h / 2 pi"               "Planck's constant" )
      ( mu0     "4 pi 1e-7 H/m"          "Permeability of vacuum" )
      ( Grav    "6.673e-11 m^3/kg^1/s^2" "Gravitational constant" )


Greetings,
Jochen
-- 
Einigkeit und Recht und Freiheit                http://www.Jochen- 
Kuepper.de
     Liberté, Égalité, Fraternité                GnuPG key: CC1B0B4D
         Sex, drugs and rock-n-roll


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://sourceware.org/pipermail/gsl-discuss/attachments/20080110/4631b8a9/attachment.sig>


More information about the Gsl-discuss mailing list