src
DataFormats
GeometryVector
interface
Pi.h
Go to the documentation of this file.
1
#ifndef GeometryVector_Geom_Pi_h
2
#define GeometryVector_Geom_Pi_h
3
29
namespace
Geom
{
30
31
inline
constexpr
double
pi
() {
return
3.141592653589793238; }
32
inline
constexpr
double
twoPi
() {
return
2. * 3.141592653589793238; }
33
inline
constexpr
double
halfPi
() {
return
0.5 * 3.141592653589793238; }
34
35
inline
constexpr
float
fpi
() {
return
3.141592653589793238f; }
36
inline
constexpr
float
ftwoPi
() {
return
2.f * 3.141592653589793238f; }
37
inline
constexpr
float
fhalfPi
() {
return
0.5f * 3.141592653589793238f; }
38
39
}
// namespace Geom
40
41
#endif
Geom::ftwoPi
constexpr float ftwoPi()
Definition:
Pi.h:36
Geom::halfPi
constexpr double halfPi()
Definition:
Pi.h:33
Geom::fpi
constexpr float fpi()
Definition:
Pi.h:35
ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr
if constexpr(n > 3)
Definition:
BrokenLine.h:164
Geom::fhalfPi
constexpr float fhalfPi()
Definition:
Pi.h:37
Geom
Definition:
CoordinateSets.h:6
Geom::pi
constexpr double pi()
Definition:
Pi.h:31
Geom::twoPi
constexpr double twoPi()
Definition:
Pi.h:32
Generated for CMSSW Reference Manual by
1.8.14