28 #ifndef CASA_CONSTANTS_H
29 #define CASA_CONSTANTS_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 peta
e+15 (P)
const Double flt_max
the maximum single precision floating point number
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 milli
e-03 (m)
const Double circle
circle
const Double _1_sqrt2
1/sqrt(2)
const Double sphere
sphere
const Double nano
e-09 (n)
const Double yocto
e-24 (y)
const Double deci
e-01 (d)
Mathematical and numerical constants.
const Double giga
e+09 (G)
const Double degree
degree
const Double gamma
gamma and functions thereof:
const Double femto
e-15 (f)
const Double dbl_min
the minimum double precision floating point number, excluding denormalised numbers ...
const Double zepto
e-21 (z)
const Double log10e
log10(e)
const Double steradian
Solid angular measure:
const Double mindouble
the minimum double precision floating point number, including denormalised numbers ...
const Double minute
minute
const Double kilo
e+03 (k)
const Double sqrt2
Mathematical constants.
const Double arcsec
arcsecond
const Double pi
Pi and functions thereof:
const Double _1_sqrt3
1/sqrt(3)
const Double radian
Angular measure:
const Double probit_3_4
statistics related 1/(Phi^(-1)(3/4), see https://en.wikipedia.org/wiki/Median_absolute_deviation#Rela...
const Double mega
e+06 (M)
const Double deka
e+01 (da)
const Double zetta
e+21 (Z)
const Double dbl_max
the maximum double precision floating point number
const Double square_arcmin
square arcminute
const Double lngamma
ln(gamma)
const Double pico
e-12 (p)
const Double square_degree
square degree
const Double _1_sqrtpi
1/sqrt(pi)
const Double etogamma
e**gamma
const Double tera
e+12 (T)
const Double sqrt3
sqrt(3)
const Double hecto
e+02 (h)
const Double second
Time interval [T]:
const Double yotta
Numerical conversion factors.
const Double log2e
log2(e)
const Double atto
e-18 (a)
const Double e
e and functions thereof:
const Double _2_sqrtpi
2/sqrt(pi)
const Double flt_min
Machine constants.
const Double c
Fundamental physical constants (SI units):
const Double minfloat
the minimum single precision floating point number, including denormalised numbers ...
const Double square_arcsec
square arcsecond
const Double centi
e-02 (c)
const Double MJD0
Difference between Julian Day and Modified Julian Day.
const Double dbl_epsilon
Minimum double precision floating point number X such that 1+X does not equal X.
const Double arcmin
arcminute
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.