public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
* Re^2: update of Physical constants list
@ 2006-02-16 20:34 Richard Mathar
  0 siblings, 0 replies; only message in thread
From: Richard Mathar @ 2006-02-16 20:34 UTC (permalink / raw)
  To: gsl-discuss


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-16 20:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-16 20:34 Re^2: update of Physical constants list Richard Mathar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).