Astroconst is a set of header files in various languages (currently C, Fortran, Perl, Java, IDL and Gnuplot) that provide a variety of useful astrophysical constants without constantly needing to look them up.
The generation of the header files from one data file is automated, so you can add new constants to the data file and generate new header files in all the appropriate languages without needing to fiddle with each header file individually.
What's New in This Release:
· README file made clearer
· Creation of the astrocalc-mks utility (like astrocalc, but using MKS units)
· Added 'use POSIX' into astrocalc/astrocalc-mks (good for such useful functions as log10, etc...)
· Added the following new constants: mean solar density A_dsun, mean Earth density A_dearth, solar surface gravity A_gsun, Earth surface gravity A_gearth, solar V magnitude A_Vsun, solar absolute V magnitude A_MVsun, characteristic impedance of the vacuum A_Z0, permittivity of free space A_eps0, permeability of free space A_mu0, lunar radius A_rmoon, lunar mass A_mmoon, lunar orbital semi-major axis A_amoon, and lunar orbital eccentricity A_emoon.