#include <sysc/datatypes/fx/sc_fxval.h>
Public Member Functions | |
sc_fxval (scfx_rep *) | |
sc_fxval (sc_fxval_observer *=0) | |
SCFX_EXPLICIT_ | sc_fxval (int, sc_fxval_observer *=0) |
SCFX_EXPLICIT_ | sc_fxval (unsigned int, sc_fxval_observer *=0) |
SCFX_EXPLICIT_ | sc_fxval (long, sc_fxval_observer *=0) |
SCFX_EXPLICIT_ | sc_fxval (unsigned long, sc_fxval_observer *=0) |
SCFX_EXPLICIT_ | sc_fxval (float, sc_fxval_observer *=0) |
SCFX_EXPLICIT_ | sc_fxval (double, sc_fxval_observer *=0) |
SCFX_EXPLICIT_ | sc_fxval (const char *, sc_fxval_observer *=0) |
sc_fxval (const sc_fxval &, sc_fxval_observer *=0) | |
sc_fxval (const sc_fxval_fast &, sc_fxval_observer *=0) | |
sc_fxval (const sc_fxnum &, sc_fxval_observer *=0) | |
sc_fxval (const sc_fxnum_fast &, sc_fxval_observer *=0) | |
SCFX_EXPLICIT_OTHER_ | sc_fxval (int64, sc_fxval_observer *=0) |
SCFX_EXPLICIT_OTHER_ | sc_fxval (uint64, sc_fxval_observer *=0) |
SCFX_EXPLICIT_OTHER_ | sc_fxval (const sc_int_base &, sc_fxval_observer *=0) |
SCFX_EXPLICIT_OTHER_ | sc_fxval (const sc_uint_base &, sc_fxval_observer *=0) |
SCFX_EXPLICIT_OTHER_ | sc_fxval (const sc_signed &, sc_fxval_observer *=0) |
SCFX_EXPLICIT_OTHER_ | sc_fxval (const sc_unsigned &, sc_fxval_observer *=0) |
~sc_fxval () | |
const scfx_rep * | get_rep () const |
void | set_rep (scfx_rep *) |
const sc_fxval | operator- () const |
const sc_fxval & | operator+ () const |
DECL_BIN_OP_T (/, int64) DECL_BIN_OP_T(/ | |
uint64 | DECL_BIN_OP_T (/, const sc_int_base &) DECL_BIN_OP_T(/ |
uint64 const sc_uint_base & | DECL_BIN_OP_T (/, const sc_signed &) friend const sc_fxval operator<< (const sc_fxval & |
const sc_fxval | operator++ (int) |
const sc_fxval | operator-- (int) |
sc_fxval & | operator++ () |
sc_fxval & | operator-- () |
operator double () const | |
short | to_short () const |
unsigned short | to_ushort () const |
int | to_int () const |
unsigned int | to_uint () const |
long | to_long () const |
unsigned long | to_ulong () const |
int64 | to_int64 () const |
uint64 | to_uint64 () const |
float | to_float () const |
double | to_double () const |
const std::string | to_string () const |
const std::string | to_string (sc_numrep) const |
const std::string | to_string (sc_numrep, bool) const |
const std::string | to_string (sc_fmt) const |
const std::string | to_string (sc_numrep, sc_fmt) const |
const std::string | to_string (sc_numrep, bool, sc_fmt) const |
const std::string | to_dec () const |
const std::string | to_bin () const |
const std::string | to_oct () const |
const std::string | to_hex () const |
bool | is_neg () const |
bool | is_zero () const |
bool | is_nan () const |
bool | is_inf () const |
bool | is_normal () const |
bool | rounding_flag () const |
void | print (::std::ostream &=::std::cout) const |
void | scan (::std::istream &=::std::cin) |
void | dump (::std::ostream &=::std::cout) const |
bool | get_bit (int) const |
Public Attributes | |
uint64 const sc_uint_base & | int |
Protected Member Functions | |
sc_fxval_observer * | observer () const |
sc_fxval_observer * | lock_observer () const |
void | unlock_observer (sc_fxval_observer *) const |
void | get_type (int &, int &, sc_enc &) const |
const sc_fxval | quantization (const scfx_params &, bool &) const |
const sc_fxval | overflow (const scfx_params &, bool &) const |
Friends | |
class | sc_fxnum |
void | neg (sc_fxval &, const sc_fxval &) |
const sc_fxval | operator/ (const sc_fxval &, const sc_fxval &) |
const sc_fxval | operator>> (const sc_fxval &, int) |
void | lshift (sc_fxval &, const sc_fxval &, int) |
void | rshift (sc_fxval &, const sc_fxval &, int) |
Definition at line 93 of file sc_fxval.h.
sc_dt::sc_fxval::sc_fxval | ( | scfx_rep * | a | ) | [inline, explicit] |
Definition at line 782 of file sc_fxval.h.
sc_dt::sc_fxval::sc_fxval | ( | sc_fxval_observer * | observer_ = 0 |
) | [inline, explicit] |
Definition at line 791 of file sc_fxval.h.
SCFX_EXPLICIT_ sc_dt::sc_fxval::sc_fxval | ( | int | , | |
sc_fxval_observer * | = 0 | |||
) |
SCFX_EXPLICIT_ sc_dt::sc_fxval::sc_fxval | ( | unsigned | int, | |
sc_fxval_observer * | = 0 | |||
) |
SCFX_EXPLICIT_ sc_dt::sc_fxval::sc_fxval | ( | long | , | |
sc_fxval_observer * | = 0 | |||
) |
SCFX_EXPLICIT_ sc_dt::sc_fxval::sc_fxval | ( | unsigned | long, | |
sc_fxval_observer * | = 0 | |||
) |
SCFX_EXPLICIT_ sc_dt::sc_fxval::sc_fxval | ( | float | , | |
sc_fxval_observer * | = 0 | |||
) |
SCFX_EXPLICIT_ sc_dt::sc_fxval::sc_fxval | ( | double | , | |
sc_fxval_observer * | = 0 | |||
) |
SCFX_EXPLICIT_ sc_dt::sc_fxval::sc_fxval | ( | const char * | , | |
sc_fxval_observer * | = 0 | |||
) |
sc_dt::sc_fxval::sc_fxval | ( | const sc_fxval & | a, | |
sc_fxval_observer * | observer_ = 0 | |||
) | [inline] |
Definition at line 800 of file sc_fxval.h.
sc_dt::sc_fxval::sc_fxval | ( | const sc_fxval_fast & | , | |
sc_fxval_observer * | = 0 | |||
) |
sc_dt::sc_fxval::sc_fxval | ( | const sc_fxnum & | a, | |
sc_fxval_observer * | observer_ = 0 | |||
) | [inline] |
Definition at line 4772 of file sc_fxnum.h.
sc_dt::sc_fxval::sc_fxval | ( | const sc_fxnum_fast & | a, | |
sc_fxval_observer * | observer_ = 0 | |||
) | [inline] |
Definition at line 4783 of file sc_fxnum.h.
SCFX_EXPLICIT_OTHER_ sc_dt::sc_fxval::sc_fxval | ( | int64 | , | |
sc_fxval_observer * | = 0 | |||
) |
SCFX_EXPLICIT_OTHER_ sc_dt::sc_fxval::sc_fxval | ( | uint64 | , | |
sc_fxval_observer * | = 0 | |||
) |
SCFX_EXPLICIT_OTHER_ sc_dt::sc_fxval::sc_fxval | ( | const sc_int_base & | , | |
sc_fxval_observer * | = 0 | |||
) |
SCFX_EXPLICIT_OTHER_ sc_dt::sc_fxval::sc_fxval | ( | const sc_uint_base & | , | |
sc_fxval_observer * | = 0 | |||
) |
SCFX_EXPLICIT_OTHER_ sc_dt::sc_fxval::sc_fxval | ( | const sc_signed & | , | |
sc_fxval_observer * | = 0 | |||
) |
SCFX_EXPLICIT_OTHER_ sc_dt::sc_fxval::sc_fxval | ( | const sc_unsigned & | , | |
sc_fxval_observer * | = 0 | |||
) |
sc_dt::sc_fxval::~sc_fxval | ( | ) | [inline] |
Definition at line 851 of file sc_fxval.h.
uint64 const sc_uint_base& sc_dt::sc_fxval::DECL_BIN_OP_T | ( | / | , | |
const sc_signed & | ||||
) | const |
uint64 sc_dt::sc_fxval::DECL_BIN_OP_T | ( | / | , | |
const sc_int_base & | ||||
) |
sc_dt::sc_fxval::DECL_BIN_OP_T | ( | / | , | |
int64 | ||||
) |
void sc_dt::sc_fxval::dump | ( | ::std::ostream & | = ::std::cout |
) | const |
bool sc_dt::sc_fxval::get_bit | ( | int | ) | const |
const scfx_rep * sc_dt::sc_fxval::get_rep | ( | ) | const [inline] |
Definition at line 861 of file sc_fxval.h.
bool sc_dt::sc_fxval::is_inf | ( | ) | const |
bool sc_dt::sc_fxval::is_nan | ( | ) | const |
bool sc_dt::sc_fxval::is_neg | ( | ) | const |
bool sc_dt::sc_fxval::is_normal | ( | ) | const |
bool sc_dt::sc_fxval::is_zero | ( | ) | const |
sc_fxval_observer* sc_dt::sc_fxval::lock_observer | ( | ) | const [protected] |
sc_fxval_observer * sc_dt::sc_fxval::observer | ( | ) | const [inline, protected] |
Definition at line 774 of file sc_fxval.h.
sc_dt::sc_fxval::operator double | ( | ) | const |
const sc_fxval & sc_dt::sc_fxval::operator+ | ( | ) | const [inline] |
Definition at line 890 of file sc_fxval.h.
sc_fxval& sc_dt::sc_fxval::operator++ | ( | ) |
const sc_fxval sc_dt::sc_fxval::operator- | ( | ) | const [inline] |
Definition at line 882 of file sc_fxval.h.
sc_fxval& sc_dt::sc_fxval::operator-- | ( | ) |
const sc_fxval sc_dt::sc_fxval::overflow | ( | const scfx_params & | , | |
bool & | ||||
) | const [protected] |
void sc_dt::sc_fxval::print | ( | ::std::ostream & | = ::std::cout |
) | const |
const sc_fxval sc_dt::sc_fxval::quantization | ( | const scfx_params & | , | |
bool & | ||||
) | const [protected] |
bool sc_dt::sc_fxval::rounding_flag | ( | ) | const |
void sc_dt::sc_fxval::scan | ( | ::std::istream & | = ::std::cin |
) |
void sc_dt::sc_fxval::set_rep | ( | scfx_rep * | rep_ | ) | [inline] |
Definition at line 870 of file sc_fxval.h.
const std::string sc_dt::sc_fxval::to_bin | ( | ) | const |
const std::string sc_dt::sc_fxval::to_dec | ( | ) | const |
double sc_dt::sc_fxval::to_double | ( | ) | const |
float sc_dt::sc_fxval::to_float | ( | ) | const |
const std::string sc_dt::sc_fxval::to_hex | ( | ) | const |
int sc_dt::sc_fxval::to_int | ( | ) | const |
int64 sc_dt::sc_fxval::to_int64 | ( | ) | const |
long sc_dt::sc_fxval::to_long | ( | ) | const |
const std::string sc_dt::sc_fxval::to_oct | ( | ) | const |
short sc_dt::sc_fxval::to_short | ( | ) | const |
const std::string sc_dt::sc_fxval::to_string | ( | sc_fmt | ) | const |
const std::string sc_dt::sc_fxval::to_string | ( | sc_numrep | , | |
bool | ||||
) | const |
const std::string sc_dt::sc_fxval::to_string | ( | sc_numrep | ) | const |
const std::string sc_dt::sc_fxval::to_string | ( | ) | const |
unsigned int sc_dt::sc_fxval::to_uint | ( | ) | const |
uint64 sc_dt::sc_fxval::to_uint64 | ( | ) | const |
unsigned long sc_dt::sc_fxval::to_ulong | ( | ) | const |
unsigned short sc_dt::sc_fxval::to_ushort | ( | ) | const |
void sc_dt::sc_fxval::unlock_observer | ( | sc_fxval_observer * | ) | const [protected] |
friend class sc_fxnum [friend] |
Definition at line 96 of file sc_fxval.h.
Definition at line 210 of file sc_fxval.h.