SPUC
3.0
|
Determine resultant type when mixing two types in math operations. More...
#include <spuc/spuc_types.h>
Classes | |
class | SPUC::mixed_type< T, D > |
Determine resultant type when mixing two types in math operations. More... | |
Namespaces | |
SPUC | |
fixed point types: spuc_fixed,spuc_ufixed,spuc_int,spuc_uint | |
Macros | |
#define | MIXED_MACRO(T1, T2, RESULT) template <> class mixed_type<T1,T2 > { public: typedef RESULT dtype; }; |
#define | DMIXED_MACRO(T1, T2, RESULT) template <> class mixed_type<T1,T2 > { public: typedef RESULT dtype; }; template <> class mixed_type<T2,T1 > { public: typedef RESULT dtype; }; |
Determine resultant type when mixing two types in math operations.
This file is automatically generated.......
#define DMIXED_MACRO | ( | T1, | |
T2, | |||
RESULT | |||
) | template <> class mixed_type<T1,T2 > { public: typedef RESULT dtype; }; template <> class mixed_type<T2,T1 > { public: typedef RESULT dtype; }; |
#define MIXED_MACRO | ( | T1, | |
T2, | |||
RESULT | |||
) | template <> class mixed_type<T1,T2 > { public: typedef RESULT dtype; }; |