#include <sysc/datatypes/fx/scfx_rep.h>

Public Member Functions | |
| scfx_rep () | |
| scfx_rep (int) | |
| scfx_rep (unsigned int) | |
| scfx_rep (long) | |
| scfx_rep (unsigned long) | |
| scfx_rep (double) | |
| scfx_rep (const char *) | |
| scfx_rep (int64) | |
| scfx_rep (uint64) | |
| scfx_rep (const sc_signed &) | |
| scfx_rep (const sc_unsigned &) | |
| scfx_rep (const scfx_rep &) | |
| ~scfx_rep () | |
| void * | operator new (std::size_t) |
| void | operator delete (void *, std::size_t) |
| void | from_string (const char *, int) |
| double | to_double () const |
| const char * | to_string (sc_numrep, int, sc_fmt, const scfx_params *=0) const |
| void | operator= (const scfx_rep &) |
| void | lshift (int) |
| void | rshift (int) |
| void | cast (const scfx_params &, bool &, bool &) |
| bool | is_neg () const |
| bool | is_zero () const |
| bool | is_nan () const |
| bool | is_inf () const |
| bool | is_normal () const |
| void | set_zero (int=1) |
| void | set_nan () |
| void | set_inf (int) |
| bool | get_bit (int) const |
| bool | set (int, const scfx_params &) |
| bool | clear (int, const scfx_params &) |
| bool | get_slice (int, int, const scfx_params &, sc_bv_base &) const |
| bool | set_slice (int, int, const scfx_params &, const sc_bv_base &) |
| void | print (::std::ostream &) const |
| void | dump (::std::ostream &) const |
| void | get_type (int &, int &, sc_enc &) const |
| bool | rounding_flag () const |
Friends | |
| void | multiply (scfx_rep &, const scfx_rep &, const scfx_rep &, int=SC_DEFAULT_MAX_WL_) |
| scfx_rep * | neg_scfx_rep (const scfx_rep &) |
| scfx_rep * | mult_scfx_rep (const scfx_rep &, const scfx_rep &, int=SC_DEFAULT_MAX_WL_) |
| scfx_rep * | div_scfx_rep (const scfx_rep &, const scfx_rep &, int=SC_DEFAULT_DIV_WL_) |
| scfx_rep * | add_scfx_rep (const scfx_rep &, const scfx_rep &, int=SC_DEFAULT_MAX_WL_) |
| scfx_rep * | sub_scfx_rep (const scfx_rep &, const scfx_rep &, int=SC_DEFAULT_MAX_WL_) |
| scfx_rep * | lsh_scfx_rep (const scfx_rep &, int) |
| scfx_rep * | rsh_scfx_rep (const scfx_rep &, int) |
| int | cmp_scfx_rep (const scfx_rep &, const scfx_rep &) |
| scfx_rep * | quantization_scfx_rep (const scfx_rep &, const scfx_params &, bool &) |
| scfx_rep * | overflow_scfx_rep (const scfx_rep &, const scfx_params &, bool &) |
| void | align (const scfx_rep &, const scfx_rep &, int &, int &, scfx_mant_ref &, scfx_mant_ref &) |
| int | compare_msw (const scfx_rep &, const scfx_rep &) |
| int | compare_msw_ff (const scfx_rep &lhs, const scfx_rep &rhs) |
| void | print_dec (scfx_string &, const scfx_rep &, int, sc_fmt) |
| void | print_other (scfx_string &, const scfx_rep &, sc_numrep, int, sc_fmt, const scfx_params *) |
| int | compare_abs (const scfx_rep &, const scfx_rep &) |
Definition at line 121 of file scfx_rep.h.
| sc_dt::scfx_rep::scfx_rep | ( | ) |
Definition at line 83 of file scfx_rep.cpp.
| sc_dt::scfx_rep::scfx_rep | ( | int | a | ) | [explicit] |
Definition at line 89 of file scfx_rep.cpp.
| sc_dt::scfx_rep::scfx_rep | ( | unsigned int | a | ) | [explicit] |
Definition at line 112 of file scfx_rep.cpp.
| sc_dt::scfx_rep::scfx_rep | ( | long | a | ) | [explicit] |
Definition at line 127 of file scfx_rep.cpp.
| sc_dt::scfx_rep::scfx_rep | ( | unsigned long | a | ) | [explicit] |
Definition at line 160 of file scfx_rep.cpp.
| sc_dt::scfx_rep::scfx_rep | ( | double | a | ) | [explicit] |
Definition at line 185 of file scfx_rep.cpp.
| sc_dt::scfx_rep::scfx_rep | ( | const char * | s | ) | [inline, explicit] |
Definition at line 324 of file scfx_rep.h.
| sc_dt::scfx_rep::scfx_rep | ( | int64 | a | ) | [explicit] |
Definition at line 213 of file scfx_rep.cpp.
| sc_dt::scfx_rep::scfx_rep | ( | uint64 | a | ) | [explicit] |
Definition at line 239 of file scfx_rep.cpp.
| sc_dt::scfx_rep::scfx_rep | ( | const sc_signed & | a | ) | [explicit] |
Definition at line 256 of file scfx_rep.cpp.
| sc_dt::scfx_rep::scfx_rep | ( | const sc_unsigned & | a | ) | [explicit] |
Definition at line 298 of file scfx_rep.cpp.
| sc_dt::scfx_rep::scfx_rep | ( | const scfx_rep & | a | ) |
Definition at line 327 of file scfx_rep.cpp.
| sc_dt::scfx_rep::~scfx_rep | ( | ) | [inline] |
Definition at line 335 of file scfx_rep.h.
| void * sc_dt::scfx_rep::operator new | ( | std::size_t | size | ) |
Definition at line 350 of file scfx_rep.cpp.
| void sc_dt::scfx_rep::operator delete | ( | void * | ptr, | |
| std::size_t | size | |||
| ) |
Definition at line 372 of file scfx_rep.cpp.
| void sc_dt::scfx_rep::from_string | ( | const char * | s, | |
| int | cte_wl | |||
| ) |
Definition at line 404 of file scfx_rep.cpp.
| double sc_dt::scfx_rep::to_double | ( | ) | const |
Definition at line 758 of file scfx_rep.cpp.
| const char * sc_dt::scfx_rep::to_string | ( | sc_numrep | numrep, | |
| int | w_prefix, | |||
| sc_fmt | fmt, | |||
| const scfx_params * | params = 0 | |||
| ) | const |
Definition at line 1193 of file scfx_rep.cpp.
| void sc_dt::scfx_rep::operator= | ( | const scfx_rep & | f | ) | [inline] |
Definition at line 343 of file scfx_rep.h.
| void sc_dt::scfx_rep::lshift | ( | int | n | ) |
Definition at line 1704 of file scfx_rep.cpp.
| void sc_dt::scfx_rep::rshift | ( | int | n | ) |
Definition at line 1738 of file scfx_rep.cpp.
| void sc_dt::scfx_rep::cast | ( | const scfx_params & | params, | |
| bool & | q_flag, | |||
| bool & | o_flag | |||
| ) |
Definition at line 2202 of file scfx_rep.cpp.
| bool sc_dt::scfx_rep::is_neg | ( | ) | const [inline] |
Definition at line 402 of file scfx_rep.h.
| bool sc_dt::scfx_rep::is_zero | ( | ) | const [inline] |
Definition at line 409 of file scfx_rep.h.
| bool sc_dt::scfx_rep::is_nan | ( | ) | const [inline] |
Definition at line 425 of file scfx_rep.h.
| bool sc_dt::scfx_rep::is_inf | ( | ) | const [inline] |
Definition at line 432 of file scfx_rep.h.
| bool sc_dt::scfx_rep::is_normal | ( | ) | const [inline] |
Definition at line 439 of file scfx_rep.h.
| void sc_dt::scfx_rep::set_zero | ( | int | sign = 1 |
) | [inline] |
Definition at line 295 of file scfx_rep.h.
| void sc_dt::scfx_rep::set_nan | ( | ) | [inline] |
Definition at line 305 of file scfx_rep.h.
| void sc_dt::scfx_rep::set_inf | ( | int | sign | ) | [inline] |
Definition at line 313 of file scfx_rep.h.
| bool sc_dt::scfx_rep::get_bit | ( | int | i | ) | const |
Definition at line 2582 of file scfx_rep.cpp.
| bool sc_dt::scfx_rep::set | ( | int | i, | |
| const scfx_params & | params | |||
| ) |
Definition at line 2612 of file scfx_rep.cpp.
| bool sc_dt::scfx_rep::clear | ( | int | i, | |
| const scfx_params & | params | |||
| ) |
Definition at line 2654 of file scfx_rep.cpp.
| bool sc_dt::scfx_rep::get_slice | ( | int | i, | |
| int | j, | |||
| const scfx_params & | , | |||
| sc_bv_base & | bv | |||
| ) | const |
Definition at line 2691 of file scfx_rep.cpp.
| bool sc_dt::scfx_rep::set_slice | ( | int | i, | |
| int | j, | |||
| const scfx_params & | params, | |||
| const sc_bv_base & | bv | |||
| ) |
Definition at line 2714 of file scfx_rep.cpp.
| void sc_dt::scfx_rep::print | ( | ::std::ostream & | os | ) | const |
Definition at line 2745 of file scfx_rep.cpp.
| void sc_dt::scfx_rep::dump | ( | ::std::ostream & | os | ) | const |
Definition at line 2756 of file scfx_rep.cpp.
| void sc_dt::scfx_rep::get_type | ( | int & | wl, | |
| int & | iwl, | |||
| sc_enc & | enc | |||
| ) | const |
Definition at line 2801 of file scfx_rep.cpp.
| bool sc_dt::scfx_rep::rounding_flag | ( | ) | const [inline] |
Definition at line 468 of file scfx_rep.h.
| void multiply | ( | scfx_rep & | , | |
| const scfx_rep & | , | |||
| const scfx_rep & | , | |||
| int | = SC_DEFAULT_MAX_WL_ | |||
| ) | [friend] |
Definition at line 1517 of file scfx_rep.cpp.
| scfx_rep* mult_scfx_rep | ( | const scfx_rep & | a, | |
| const scfx_rep & | b, | |||
| int | max_wl = SC_DEFAULT_MAX_WL_ | |||
| ) | [friend] |
| scfx_rep* div_scfx_rep | ( | const scfx_rep & | , | |
| const scfx_rep & | , | |||
| int | = SC_DEFAULT_DIV_WL_ | |||
| ) | [friend] |
Definition at line 1598 of file scfx_rep.cpp.
| scfx_rep* add_scfx_rep | ( | const scfx_rep & | , | |
| const scfx_rep & | , | |||
| int | = SC_DEFAULT_MAX_WL_ | |||
| ) | [friend] |
Definition at line 1279 of file scfx_rep.cpp.
| scfx_rep* sub_scfx_rep | ( | const scfx_rep & | , | |
| const scfx_rep & | , | |||
| int | = SC_DEFAULT_MAX_WL_ | |||
| ) | [friend] |
Definition at line 1408 of file scfx_rep.cpp.
Definition at line 1850 of file scfx_rep.cpp.
| scfx_rep* quantization_scfx_rep | ( | const scfx_rep & | a, | |
| const scfx_params & | params, | |||
| bool & | q_flag | |||
| ) | [friend] |
Definition at line 446 of file scfx_rep.h.
| scfx_rep* overflow_scfx_rep | ( | const scfx_rep & | a, | |
| const scfx_params & | params, | |||
| bool & | o_flag | |||
| ) | [friend] |
Definition at line 457 of file scfx_rep.h.
| void 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 | |||
| ) | [friend] |
Definition at line 2233 of file scfx_rep.cpp.
Definition at line 2282 of file scfx_rep.cpp.
| void print_dec | ( | scfx_string & | s, | |
| const scfx_rep & | num, | |||
| int | w_prefix, | |||
| sc_fmt | fmt | |||
| ) | [friend] |
Definition at line 888 of file scfx_rep.cpp.
| void print_other | ( | scfx_string & | s, | |
| const scfx_rep & | a, | |||
| sc_numrep | numrep, | |||
| int | w_prefix, | |||
| sc_fmt | fmt, | |||
| const scfx_params * | params | |||
| ) | [friend] |
Definition at line 1028 of file scfx_rep.cpp.
Definition at line 1773 of file scfx_rep.cpp.
1.5.5