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