All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CMathTrait.h
Go to the documentation of this file.
1 //=================================================================================================
20 //=================================================================================================
21 
22 #ifndef _BLAZE_MATH_TRAITS_CMATHTRAIT_H_
23 #define _BLAZE_MATH_TRAITS_CMATHTRAIT_H_
24 
25 
26 namespace blaze {
27 
28 //=================================================================================================
29 //
30 // CMATH TRAIT
31 //
32 //=================================================================================================
33 
34 //*************************************************************************************************
63 template< typename T >
64 struct CMathTrait
65 {
66  typedef double Type;
67 };
68 //*************************************************************************************************
69 
70 
71 //*************************************************************************************************
76 template<>
77 struct CMathTrait<float>
78 {
79  typedef float Type;
80 };
82 //*************************************************************************************************
83 
84 
85 //*************************************************************************************************
90 template<>
91 struct CMathTrait<long double>
92 {
93  typedef long double Type;
94 };
96 //*************************************************************************************************
97 
98 } // namespace blaze
99 
100 #endif