src/Emu/Utility/Math.h

このグラフは、どのファイルから直接、間接的にインクルードされているかを示しています。

ソースコードを見る。

ネームスペース

namespace  Onikiri
namespace  Onikiri::EmulatorUtility

構成

struct  Onikiri::EmulatorUtility::signed_type< T >
struct  Onikiri::EmulatorUtility::unsigned_type< T >

マクロ定義

#define IMPLEMENT_SIGNED_UNSIGNED_TYPE(Type)
#define IMPLEMENT_SIGNED_UNSIGNED_TYPE_FLOAT(Type)

関数

template<typename T>
signed_type< T >::type Onikiri::EmulatorUtility::cast_to_signed (T x)
template<typename T>
unsigned_type< T >::type Onikiri::EmulatorUtility::cast_to_unsigned (T x)


マクロ定義

#define IMPLEMENT_SIGNED_UNSIGNED_TYPE ( Type   ) 

値:

template <>                                         \
struct signed_unsigned_type<signed Type, true> {    \
    typedef signed Type type;                       \
};                                                  \
template <>                                         \
struct signed_unsigned_type<signed Type, false> {   \
    typedef unsigned Type type;                     \
};                                                  \
template <>                                         \
struct signed_unsigned_type<unsigned Type, true> {  \
    typedef signed Type type;                       \
};                                                  \
template <>                                         \
struct signed_unsigned_type<unsigned Type, false> { \
    typedef unsigned Type type;                     \
};

Math.h62 行で定義されています。

#define IMPLEMENT_SIGNED_UNSIGNED_TYPE_FLOAT ( Type   ) 

値:

template <bool Sign>                                \
struct signed_unsigned_type<Type, Sign> {           \
    typedef Type type;                              \
};

Math.h79 行で定義されています。


Onikiri2に対してTue Jun 18 14:35:28 2013に生成されました。  doxygen 1.4.7