This is the mail archive of the gsl-discuss@sourceware.org mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: constants update


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



Attachment: PGP.sig
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]