28 #ifndef CASA_CONSTANTS_H
29 #define CASA_CONSTANTS_H
31 #include <casacore/casa/aips.h>
33 #if defined (sun) && ! defined (AIPS_SOLARIS)
34 # include <sys/limits.h>
40 #if !defined(AIPS_DARWIN) && !defined(AIPS_BSD)
44 #if defined (AIPS_OSF)
45 # define LN_MAXFLOAT (M_LN2 * FMAXEXP)
46 # define LN_MINFLOAT (M_LN2 * (FMINEXP -1))
const Double deka
e+01 (da)
const Double mega
e+06 (M)
const Double circle
circle
const Double minfloat
the minimum single precision floating point number, including denormalised numbers
const Double pi
Pi and functions thereof:
const Double gamma
gamma and functions thereof:
const Double steradian
Solid angular measure:
const Double c
Fundamental physical constants (SI units):
const Double sqrt2
Mathematical constants.
const Double arcmin
arcminute
const Double flt_epsilon
Minimum single precision floating point number X such that 1+X does not equal X.
const Double micro
e-06 (u)
const Double flt_min
Machine constants.
const Double hecto
e+02 (h)
const Double square_arcsec
square arcsecond
const Double log2e
log2(e)
const Double dbl_max
the maximum double precision floating point number
const Double milli
e-03 (m)
const Double kilo
e+03 (k)
const Double square_arcmin
square arcminute
const Double square_degree
square degree
const Double degree
degree
const Double MJD0
Difference between Julian Day and Modified Julian Day.
const Double zepto
e-21 (z)
const Double flt_max
the maximum single precision floating point number
const Double yocto
e-24 (y)
const Double centi
e-02 (c)
const Double radian
Angular measure:
const Double peta
e+15 (P)
const Double dbl_epsilon
Minimum double precision floating point number X such that 1+X does not equal X.
const Double tera
e+12 (T)
const Double mindouble
the minimum double precision floating point number, including denormalised numbers
const Double etogamma
e**gamma
const Double yotta
Numerical conversion factors.
const Double zetta
e+21 (Z)
const Double femto
e-15 (f)
const Double _1_sqrt3
1/sqrt(3)
const Double atto
e-18 (a)
const Double lngamma
ln(gamma)
const Double _1_sqrtpi
1/sqrt(pi)
const Double log10e
log10(e)
const Double dbl_min
the minimum double precision floating point number, excluding denormalised numbers
const Double _2_sqrtpi
2/sqrt(pi)
const Double _1_sqrt2
1/sqrt(2)
const Double minute
minute
const Double sphere
sphere
const Double pico
e-12 (p)
const Double sqrt3
sqrt(3)
const Double deci
e-01 (d)
const Double probit_3_4
statistics related 1/(Phi^(-1)(3/4), see https://en.wikipedia.org/wiki/Median_absolute_deviation#Rela...
const Double second
Time interval [T]:
const Double arcsec
arcsecond
const Double nano
e-09 (n)
const Double giga
e+09 (G)
const Double e
e and functions thereof:
this file contains all the compiler specific defines