IODA Bundle
piconst.h
Go to the documentation of this file.
1
/*
2
* (C) Copyright 1996-2012 ECMWF.
3
*
4
* This software is licensed under the terms of the Apache Licence Version 2.0
5
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6
* In applying this licence, ECMWF does not waive the privileges and immunities
7
* granted to it by virtue of its status as an intergovernmental organisation nor
8
* does it submit to any jurisdiction.
9
*/
10
11
/// \file piconst.h
12
/// ECMWF July 2010
13
14
#ifndef eckit_sql_expression_piconst_H
15
#define eckit_sql_expression_piconst_H
16
17
#include <cmath>
18
19
namespace
odc
{
20
namespace
sql {
21
namespace
function {
22
23
namespace
piconst {
24
25
constexpr
double
pi
= M_PI;
26
constexpr
double
half_pi
= M_PI_2;
27
constexpr
double
two_pi
= (2. *
pi
);
28
constexpr
double
four_pi
= (4. *
pi
);
29
constexpr
double
pi_over_180
= (
pi
/180.);
30
constexpr
double
recip_pi_over_180
= (180./
pi
);
31
32
}
33
}
34
}
35
}
36
37
#endif
odc::sql::function::piconst::pi_over_180
constexpr double pi_over_180
Definition:
piconst.h:29
odc::sql::function::piconst::recip_pi_over_180
constexpr double recip_pi_over_180
Definition:
piconst.h:30
odc::sql::function::piconst::pi
constexpr double pi
Definition:
piconst.h:25
odc::sql::function::piconst::four_pi
constexpr double four_pi
Definition:
piconst.h:28
odc::sql::function::piconst::half_pi
constexpr double half_pi
Definition:
piconst.h:26
odc::sql::function::piconst::two_pi
constexpr double two_pi
Definition:
piconst.h:27
odc
Definition:
ColumnInfo.h:23
odc
src
odc
sql
function
piconst.h
Generated on Fri Aug 20 2021 11:49:09 for IODA Bundle by
1.9.1