#include "sysc/datatypes/fx/scfx_rep.h"
#include "sysc/datatypes/fx/scfx_ieee.h"
#include "sysc/datatypes/fx/scfx_pow10.h"
#include "sysc/datatypes/fx/scfx_utils.h"
#include "sysc/datatypes/bit/sc_bv_base.h"
#include <ctype.h>
#include <math.h>
ネームスペース | |
namespace | sc_dt |
構成 | |
union | sc_dt::scfx_rep_node |
union | sc_dt::long_short |
マクロ定義 | |
#define | SCFX_FAIL_IF_(cnd) |
関数 | |
static int | sc_dt::n_word (int x) |
void | sc_dt::print_dec (scfx_string &s, const scfx_rep &num, int w_prefix, sc_fmt fmt) |
void | sc_dt::print_other (scfx_string &s, const scfx_rep &a, sc_numrep numrep, int w_prefix, sc_fmt fmt, const scfx_params *params) |
static int | sc_dt::add_mants (int size, scfx_mant &result, const scfx_mant &a, const scfx_mant &b) |
static int | sc_dt::sub_mants (int size, scfx_mant &result, const scfx_mant &a, const scfx_mant &b) |
scfx_rep * | sc_dt::add_scfx_rep (const scfx_rep &lhs, const scfx_rep &rhs, int max_wl) |
static int | sc_dt::sub_with_index (scfx_mant &a, int a_msw, int a_lsw, const scfx_mant &b, int b_msw, int b_lsw) |
scfx_rep * | sc_dt::sub_scfx_rep (const scfx_rep &lhs, const scfx_rep &rhs, int max_wl) |
void | sc_dt::multiply (scfx_rep &result, const scfx_rep &lhs, const scfx_rep &rhs, int max_wl) |
scfx_rep * | sc_dt::div_scfx_rep (const scfx_rep &lhs, const scfx_rep &rhs, int div_wl) |
int | sc_dt::compare_abs (const scfx_rep &a, const scfx_rep &b) |
int | sc_dt::cmp_scfx_rep (const scfx_rep &a, const scfx_rep &b) |
void | sc_dt::align (const scfx_rep &lhs, const scfx_rep &rhs, int &new_wp, int &len_mant, scfx_mant_ref &lhs_mant, scfx_mant_ref &rhs_mant) |
int | sc_dt::compare_msw_ff (const scfx_rep &lhs, const scfx_rep &rhs) |
変数 | |
static scfx_pow10 | sc_dt::pow10_fx |
static const int | sc_dt::mantissa0_size = SCFX_IEEE_DOUBLE_M_SIZE - bits_in_int |
static scfx_rep_node * | sc_dt::list = 0 |
#define SCFX_FAIL_IF_ | ( | cnd | ) |
値:
{ \ if( ( cnd ) ) \ { \ m_state = not_a_number; \ m_mant.clear(); /* to avoid Purify UMRs during assignment */ \ return; \ } \ }