public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Brian Gough <bjg@network-theory.co.uk>
To: Peter Teuben <teuben@astro.umd.edu>
Cc: GSL LIST <gsl-discuss@sourceware.cygnus.com>
Subject: Re: physic constants (0.9.3)
Date: Wed, 19 Dec 2001 13:20:00 -0000	[thread overview]
Message-ID: <15280.38721.501783.740589@debian> (raw)
In-Reply-To: <Pine.GSO.4.10.10109250903210.10075-100000@apus.astro.umd.edu>

> I'd like to see the solar mass (about 2e30 kg) go into the table of
> constan= ts.  It has AU and pc, but the one big thing missing is solar
> mass.

I accept patches ;-)

Extra values can be added to the gsl-constants list in const/const.el

e.g.

bjg|debian> cvs diff -u const/const.el doc/const.texi
Index: const/const.el
===================================================================
RCS file: /cvs/gsl/gsl/const/const.el,v
retrieving revision 1.10
diff -u -r1.10 const.el
--- const.el    2001/09/25 14:16:40     1.10
+++ const.el    2001/09/25 14:39:05
@@ -131,7 +131,7 @@
          ("R"             "ROENTGEN")
          ("rd"            "RAD")
 
-
+         ("1.98892e30 kg"       "SOLAR_MASS")
          )
        )
 
Index: doc/const.texi
===================================================================
RCS file: /cvs/gsl/gsl/doc/const.texi,v
retrieving revision 1.12
diff -u -r1.12 const.texi
--- const.texi  2001/09/14 21:47:17     1.12
+++ const.texi  2001/09/25 14:39:05
@@ -94,6 +94,9 @@
 
 @item GSL_CONST_MKS_GRAV_ACCEL
 The standard gravitational acceleration on Earth, @math{g}.
+
+@item GSL_CONST_MKS_SOLAR_MASS
+The mass of the Sun.
 @end table
 
 @node Atomic and Nuclear Physics

  reply	other threads:[~2001-12-19 13:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-19 13:20 Alberto Manuel Brandao Simoes
2001-12-19 13:20 ` Peter Teuben
2001-12-19 13:20   ` Brian Gough [this message]
2001-12-19 13:20 ` Brian Gough

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15280.38721.501783.740589@debian \
    --to=bjg@network-theory.co.uk \
    --cc=gsl-discuss@sourceware.cygnus.com \
    --cc=teuben@astro.umd.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).