CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PreciseFloatType.h
Go to the documentation of this file.
1 #ifndef GeometryVector_PreciseFloatType_h
2 #define GeometryVector_PreciseFloatType_h
3 
20 
22 template <typename T, typename U>
24 
25  typedef double Type;
26 
27 };
28 
30 
31 template <typename T>
32 struct PreciseFloatType<T,T> {
33 
34  typedef T Type;
35 
36 };
37 
39 
40 template <typename T>
41 struct PreciseFloatType< long double, T> {
42  typedef long double Type;
43 };
44 template <typename T>
45 struct PreciseFloatType< T, long double> {
46  typedef long double Type;
47 };
48 template <>
49 struct PreciseFloatType< long double, long double> {
50  typedef long double Type;
51 };
52 
53 #endif
default definition is double
long double T