Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
blaze
math
traits
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
blaze::CMathTrait::Type
double Type
Return type of the
functions for integral and double arguments.
Definition:
CMathTrait.h:79
blaze::CMathTrait
Base template for the CMathTrait class.The CMathTrait template evaluates the return type of the mathe...
Definition:
CMathTrait.h:77
Generated on Fri Jun 20 2014 06:06:52 by
1.8.7