test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 double pi() {return 3.141592653589793238;}
32  inline double twoPi() {return 2. *3.141592653589793238;}
33  inline double halfPi() {return 0.5*3.141592653589793238;}
34 
35  inline float fpi() {return 3.141592653589793238f;}
36  inline float ftwoPi() {return 2.f *3.141592653589793238f;}
37  inline float fhalfPi() {return 0.5f*3.141592653589793238f;}
38 
39 
40 }
41 
42 #endif
float fpi()
Definition: Pi.h:35
double halfPi()
Definition: Pi.h:33
double pi()
Definition: Pi.h:31
float fhalfPi()
Definition: Pi.h:37
double twoPi()
Definition: Pi.h:32
float ftwoPi()
Definition: Pi.h:36