CMathTrait.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TRAITS_CMATHTRAIT_H_
36 #define _BLAZE_MATH_TRAITS_CMATHTRAIT_H_
37 
38 
39 namespace blaze {
40 
41 //=================================================================================================
42 //
43 // CMATH TRAIT
44 //
45 //=================================================================================================
46 
47 //*************************************************************************************************
76 template< typename T >
77 struct CMathTrait
78 {
79  typedef double Type;
80 };
81 //*************************************************************************************************
82 
83 
84 //*************************************************************************************************
89 template<>
90 struct CMathTrait<float>
91 {
92  typedef float Type;
93 };
95 //*************************************************************************************************
96 
97 
98 //*************************************************************************************************
103 template<>
104 struct CMathTrait<long double>
105 {
106  typedef long double Type;
107 };
109 //*************************************************************************************************
110 
111 } // namespace blaze
112 
113 #endif
double Type
Return type of the functions for integral and double arguments.
Definition: CMathTrait.h:79
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Base template for the CMathTrait class.The CMathTrait template evaluates the return type of the mathe...
Definition: CMathTrait.h:77