Loading...
Searching...
No Matches
Constants.h File Reference
`#include <casacore/casa/aips.h>`
`#include <limits.h>`
`#include <float.h>`
`#include <values.h>`

Go to the source code of this file.

## Namespaces

namespace | casacore
| this file contains all the compiler specific defines
namespace | casacore::C

## Variables

constexpr double | casacore::C::sqrt2
| Mathematical constants.
constexpr double | casacore::C::sqrt3
| sqrt(3)
constexpr double | casacore::C::_1_sqrt2
| 1/sqrt(2)
constexpr double | casacore::C::_1_sqrt3
| 1/sqrt(3)
constexpr double | casacore::C::pi
| Pi and functions thereof:
constexpr double | casacore::C::_2pi
| 2*pi
constexpr double | casacore::C::pi_2
| pi/2
constexpr double | casacore::C::pi_4
| pi/4
constexpr double | casacore::C::_1_pi
| 1/pi
constexpr double | casacore::C::_2_pi
| 2/pi
constexpr double | casacore::C::_1_sqrtpi
| 1/sqrt(pi)
constexpr double | casacore::C::_2_sqrtpi
| 2/sqrt(pi)
constexpr double | casacore::C::e
| e and functions thereof:
constexpr double | casacore::C::ln2
| ln(2)
constexpr double | casacore::C::ln10
| ln(10)
constexpr double | casacore::C::log2e
| log2(e)
constexpr double | casacore::C::log10e
| log10(e)
constexpr double | casacore::C::gamma
| gamma and functions thereof:
constexpr double | casacore::C::lngamma
| ln(gamma) With C++20, could be deprecated and use std::log(std::numbers::gamma) instead
constexpr double | casacore::C::etogamma
| e**gamma With C++20, could be deprecated and use std::exp(std::numbers::gamma) instead
constexpr double | casacore::C::probit_3_4
| statistics related 1/(Phi^(-1)(3/4), see https://en.wikipedia.org/wiki/Median_absolute_deviation#Relation_to_standard_deviation
constexpr double | casacore::C::flt_min
| Machine constants.
constexpr double | casacore::C::minfloat
| the minimum single precision floating point number, including denormalised numbers
constexpr double | casacore::C::dbl_min
| the minimum double precision floating point number, excluding denormalised numbers
constexpr double | casacore::C::mindouble
| the minimum double precision floating point number, including denormalised numbers
constexpr double | casacore::C::flt_max
| the maximum single precision floating point number
constexpr double | casacore::C::dbl_max
| the maximum double precision floating point number
constexpr double | casacore::C::flt_epsilon
| Minimum single precision floating point number X such that 1+X does not equal X.
constexpr double | casacore::C::dbl_epsilon
| Minimum double precision floating point number X such that 1+X does not equal X.
constexpr double | casacore::C::c
| Fundamental physical constants (SI units):
constexpr double | casacore::C::quetta
| Numerical conversion factors.
constexpr double | casacore::C::ronna
| e+27 (R)
constexpr double | casacore::C::yotta
| e+24 (Y)
constexpr double | casacore::C::zetta
| e+21 (Z)
constexpr double | casacore::C::exa
| e+18 (E)
constexpr double | casacore::C::peta
| e+15 (P)
constexpr double | casacore::C::tera
| e+12 (T)
constexpr double | casacore::C::giga
| e+09 (G)
constexpr double | casacore::C::mega
| e+06 (M)
constexpr double | casacore::C::kilo
| e+03 (k)
constexpr double | casacore::C::hecto
| e+02 (h)
constexpr double | casacore::C::deka
| e+01 (da)
constexpr double | casacore::C::deci
| e-01 (d)
constexpr double | casacore::C::centi
| e-02 (c)
constexpr double | casacore::C::milli
| e-03 (m)
constexpr double | casacore::C::micro
| e-06 (u)
constexpr double | casacore::C::nano
| e-09 (n)
constexpr double | casacore::C::pico
| e-12 (p)
constexpr double | casacore::C::femto
| e-15 (f)
constexpr double | casacore::C::atto
| e-18 (a)
constexpr double | casacore::C::zepto
| e-21 (z)
constexpr double | casacore::C::yocto
| e-24 (y)
constexpr double | casacore::C::ronto
| e-27 (r)
constexpr double | casacore::C::quecto
| e-30 (q)
constexpr double | casacore::C::radian
| Angular measure:
constexpr double | casacore::C::circle
| circle
constexpr double | casacore::C::degree
| degree
constexpr double | casacore::C::arcmin
| arcminute
constexpr double | casacore::C::arcsec
| arcsecond
constexpr double | casacore::C::steradian
| Solid angular measure:
constexpr double | casacore::C::sphere
| sphere
constexpr double | casacore::C::square_degree
| square degree
constexpr double | casacore::C::square_arcmin
| square arcminute
constexpr double | casacore::C::square_arcsec
| square arcsecond
constexpr double | casacore::C::second
| Time interval [T]:
constexpr double | casacore::C::minute
| minute
constexpr double | casacore::C::hour
| hour
constexpr double | casacore::C::day
| day
constexpr double | casacore::C::MJD0
| Difference between Julian Day and Modified Julian Day.