#include "sysc/datatypes/fx/sc_fxdefs.h"
ネームスペース | |
namespace | sc_dt |
構成 | |
union | sc_dt::ieee_double |
class | sc_dt::scfx_ieee_double |
union | sc_dt::ieee_float |
class | sc_dt::scfx_ieee_float |
マクロ定義 | |
#define | MSB_STATEMENT(x, n) if( x >> n ) { x >>= n; i += n; } |
#define | LSB_STATEMENT(x, n) if( x << n ) { x <<= n; i -= n; } |
関数 | |
double | sc_dt::scfx_pow2 (int exp) |
double | sc_dt::uint64_to_double (uint64 a) |
変数 | |
const unsigned int | sc_dt::SCFX_IEEE_DOUBLE_BIAS = 1023U |
const int | sc_dt::SCFX_IEEE_DOUBLE_E_MAX = 1023 |
const int | sc_dt::SCFX_IEEE_DOUBLE_E_MIN = -1022 |
const unsigned int | sc_dt::SCFX_IEEE_DOUBLE_M_SIZE = 52 |
const unsigned int | sc_dt::SCFX_IEEE_FLOAT_BIAS = 127U |
const int | sc_dt::SCFX_IEEE_FLOAT_E_MAX = 127 |
const int | sc_dt::SCFX_IEEE_FLOAT_E_MIN = -126 |
const unsigned int | sc_dt::SCFX_IEEE_FLOAT_M_SIZE = 23 |
#define LSB_STATEMENT | ( | x, | |||
n | ) | if( x << n ) { x <<= n; i -= n; } |
#define MSB_STATEMENT | ( | x, | |||
n | ) | if( x >> n ) { x >>= n; i += n; } |