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^2: update of Physical constants list


bg> From bjg@network-theory.co.uk  Wed Feb 15 15:30:12 2006
bg> From: Brian Gough <bjg@network-theory.co.uk>
bg> Cc: gsl-discuss@sourceware.org
bg> Subject: Re: update of Physical constants list
bg> 
bg> Richard Mathar writes:
bg> rjm> Starting from gsl 1.7 it makes sense to update the natural
bg> rjm> constants of const/gsl_const_mksa.h and const/gsl_const_num.h
bg> rjm> according to some recent NIST values as patched with 'diff -u'
bg> rjm> below.
bg> 
bg> Thanks.  We should probably have some way to version these files, to
bg> avoid confusion over the changes in values.
bg> ...

To allow reproduction of results based on older versions of the constants,
one might include a simple cpp functionality

#ifdef GSL_CONST_MKSA_V17
....<versions GSL 1.7>
#else
....<most recent constants>
#endif

such that the unaware users get the most recent version, but others can
move back to GSL 1.7 by using a -D switch of their compiler to select
the older version.

Richard J. Mathar http://www.strw.leidenuniv.nl/~mathar


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