|
SystemC
2.3.2
Accellera SystemC proof-of-concept library
|
#include "sysc/datatypes/fx/scfx_rep.h"#include "sysc/datatypes/int/sc_int_base.h"#include "sysc/datatypes/int/sc_uint_base.h"#include "sysc/datatypes/int/sc_signed.h"#include "sysc/datatypes/int/sc_unsigned.h"#include "sysc/datatypes/fx/sc_fxval_observer.h"

Go to the source code of this file.
Classes | |
| class | sc_dt::sc_fxval |
| Fixed-point value type; arbitrary precision. More... | |
| class | sc_dt::sc_fxval_fast |
| Fixed-point value types; limited precision. More... | |
Namespaces | |
| sc_dt | |
Macros | |
| #define | SCFX_EXPLICIT_ explicit |
| #define | SCFX_EXPLICIT_OTHER_ explicit |
| #define | DECL_BIN_OP_T(op, tp) |
| #define | DECL_BIN_OP_OTHER(op) |
| #define | DECL_BIN_OP(op, dummy) |
| #define | DECL_BIN_FNC_T(fnc, tp) |
| #define | DECL_BIN_FNC_OTHER(fnc) |
| #define | DECL_BIN_FNC(fnc) |
| #define | DECL_REL_OP_T(op, tp) |
| #define | DECL_REL_OP_OTHER(op) |
| #define | DECL_REL_OP(op) |
| #define | DECL_ASN_OP_T(op, tp) sc_fxval& operator op( tp ); |
| #define | DECL_ASN_OP_OTHER(op) |
| #define | DECL_ASN_OP(op) |
| #define | DECL_BIN_OP_T(op, tp) |
| #define | DECL_BIN_OP_OTHER(op) |
| #define | DECL_BIN_OP(op, dummy) |
| #define | DECL_BIN_FNC_T(fnc, tp) |
| #define | DECL_BIN_FNC_OTHER(fnc) |
| #define | DECL_BIN_FNC(fnc) |
| #define | DECL_REL_OP_T(op, tp) |
| #define | DECL_REL_OP_OTHER(op) |
| #define | DECL_REL_OP(op) |
| #define | DECL_ASN_OP_T(op, tp) sc_fxval_fast& operator op( tp ); |
| #define | DECL_ASN_OP_OTHER(op) |
| #define | DECL_ASN_OP(op) |
| #define | DEFN_CTOR_T(tp, arg) |
| #define | DEFN_CTOR_T_A(tp) DEFN_CTOR_T(tp,a) |
| #define | DEFN_CTOR_T_B(tp) DEFN_CTOR_T(tp,a.to_double()) |
| #define | DEFN_CTOR_T_C(tp) DEFN_CTOR_T(tp,a.value()) |
| #define | DEFN_BIN_OP_T(op, fnc, tp) |
| #define | DEFN_BIN_OP_OTHER(op, fnc) |
| #define | DEFN_BIN_OP(op, fnc) |
| #define | DEFN_BIN_FNC_T(fnc, tp) |
| #define | DEFN_BIN_FNC_OTHER(fnc) |
| #define | DEFN_BIN_FNC(fnc) |
| #define | DEFN_REL_OP_T(op, ret, tp) |
| #define | DEFN_REL_OP_OTHER(op, ret) |
| #define | DEFN_REL_OP(op, ret) |
| #define | DEFN_ASN_OP_T(tp) |
| #define | DEFN_ASN_OP_T(op, fnc, tp) |
| #define | DEFN_ASN_OP_OTHER(op, fnc) |
| #define | DEFN_ASN_OP(op, fnc) |
| #define | DEFN_CTOR_T(tp, arg) |
| #define | DEFN_CTOR_T_A(tp) DEFN_CTOR_T(tp,static_cast<double>( a )) |
| #define | DEFN_CTOR_T_B(tp) DEFN_CTOR_T(tp,from_string( a )) |
| #define | DEFN_CTOR_T_C(tp) DEFN_CTOR_T(tp,a.to_double()) |
| #define | DEFN_BIN_OP_T(op, tp) |
| #define | DEFN_BIN_OP_OTHER(op) |
| #define | DEFN_BIN_OP(op, dummy) |
| #define | DEFN_BIN_FNC_T(fnc, op, tp) |
| #define | DEFN_BIN_FNC_OTHER(fnc, op) |
| #define | DEFN_BIN_FNC(fnc, op) |
| #define | DEFN_REL_OP_T(op, tp) |
| #define | DEFN_REL_OP_OTHER(op) |
| #define | DEFN_REL_OP(op) |
| #define | DEFN_ASN_OP_T(tp) |
| #define | DEFN_ASN_OP_T(op, tp) |
| #define | DEFN_ASN_OP_OTHER(op) |
| #define | DEFN_ASN_OP(op) |
Functions | |
| void | sc_dt::neg (sc_fxval &c, const sc_fxval &a) |
| const sc_fxval | sc_dt::operator/ (const sc_fxval &a, const sc_fxval &b) |
| sc_dt::DEFN_BIN_OP_T (/, div, int64) DEFN_BIN_OP_T(/ | |
| uint64 | sc_dt::DEFN_BIN_OP_T (/, div, const sc_int_base &) DEFN_BIN_OP_T(/ |
| uint64 const sc_uint_base & | sc_dt::DEFN_BIN_OP_T (/, div, const sc_signed &) inline const sc_fxval operator<<(const sc_fxval &a |
| const sc_fxval | sc_dt::operator>> (const sc_fxval &a, int b) |
| void | sc_dt::lshift (sc_fxval &c, const sc_fxval &a, int b) |
| void | sc_dt::rshift (sc_fxval &c, const sc_fxval &a, int b) |
| inline ::std::ostream & | sc_dt::operator<< (::std::ostream &os, const sc_fxval &a) |
| inline ::std::istream & | sc_dt::operator>> (::std::istream &is, sc_fxval &a) |
| void | sc_dt::neg (sc_fxval_fast &c, const sc_fxval_fast &a) |
| const sc_fxval_fast | sc_dt::operator/ (const sc_fxval_fast &a, const sc_fxval_fast &b) |
| const sc_fxval_fast | sc_dt::operator<< (const sc_fxval_fast &a, int b) |
| const sc_fxval_fast | sc_dt::operator>> (const sc_fxval_fast &a, int b) |
| void | sc_dt::lshift (sc_fxval_fast &c, const sc_fxval_fast &a, int b) |
| void | sc_dt::rshift (sc_fxval_fast &c, const sc_fxval_fast &a, int b) |
| inline ::std::ostream & | sc_dt::operator<< (::std::ostream &os, const sc_fxval_fast &a) |
| inline ::std::istream & | sc_dt::operator>> (::std::istream &is, sc_fxval_fast &a) |
Variables | |
| sc_dt::div | |
| uint64 const sc_uint_base int | sc_dt::b |
| #define DECL_ASN_OP | ( | op | ) |
Definition at line 654 of file sc_fxval.h.
| #define DECL_ASN_OP | ( | op | ) |
Definition at line 654 of file sc_fxval.h.
| #define DECL_ASN_OP_OTHER | ( | op | ) |
Definition at line 643 of file sc_fxval.h.
| #define DECL_ASN_OP_OTHER | ( | op | ) |
Definition at line 643 of file sc_fxval.h.
| #define DECL_ASN_OP_T | ( | op, | |
| tp | |||
| ) | sc_fxval& operator op( tp ); |
Definition at line 639 of file sc_fxval.h.
| #define DECL_ASN_OP_T | ( | op, | |
| tp | |||
| ) | sc_fxval_fast& operator op( tp ); |
Definition at line 639 of file sc_fxval.h.
| #define DECL_BIN_FNC | ( | fnc | ) |
Definition at line 569 of file sc_fxval.h.
| #define DECL_BIN_FNC | ( | fnc | ) |
Definition at line 569 of file sc_fxval.h.
| #define DECL_BIN_FNC_OTHER | ( | fnc | ) |
Definition at line 558 of file sc_fxval.h.
| #define DECL_BIN_FNC_OTHER | ( | fnc | ) |
Definition at line 558 of file sc_fxval.h.
| #define DECL_BIN_FNC_T | ( | fnc, | |
| tp | |||
| ) |
Definition at line 553 of file sc_fxval.h.
| #define DECL_BIN_FNC_T | ( | fnc, | |
| tp | |||
| ) |
Definition at line 553 of file sc_fxval.h.
| #define DECL_BIN_OP | ( | op, | |
| dummy | |||
| ) |
Definition at line 507 of file sc_fxval.h.
| #define DECL_BIN_OP | ( | op, | |
| dummy | |||
| ) |
Definition at line 507 of file sc_fxval.h.
| #define DECL_BIN_OP_OTHER | ( | op | ) |
Definition at line 496 of file sc_fxval.h.
| #define DECL_BIN_OP_OTHER | ( | op | ) |
Definition at line 496 of file sc_fxval.h.
| #define DECL_BIN_OP_T | ( | op, | |
| tp | |||
| ) |
Definition at line 491 of file sc_fxval.h.
| #define DECL_BIN_OP_T | ( | op, | |
| tp | |||
| ) |
Definition at line 491 of file sc_fxval.h.
| #define DECL_REL_OP | ( | op | ) |
Definition at line 614 of file sc_fxval.h.
| #define DECL_REL_OP | ( | op | ) |
Definition at line 614 of file sc_fxval.h.
| #define DECL_REL_OP_OTHER | ( | op | ) |
Definition at line 603 of file sc_fxval.h.
| #define DECL_REL_OP_OTHER | ( | op | ) |
Definition at line 603 of file sc_fxval.h.
| #define DECL_REL_OP_T | ( | op, | |
| tp | |||
| ) |
Definition at line 598 of file sc_fxval.h.
| #define DECL_REL_OP_T | ( | op, | |
| tp | |||
| ) |
Definition at line 598 of file sc_fxval.h.
| #define DEFN_ASN_OP | ( | op, | |
| fnc | |||
| ) |
Definition at line 1996 of file sc_fxval.h.
| #define DEFN_ASN_OP | ( | op | ) |
Definition at line 1996 of file sc_fxval.h.
| #define DEFN_ASN_OP_OTHER | ( | op, | |
| fnc | |||
| ) |
Definition at line 1985 of file sc_fxval.h.
| #define DEFN_ASN_OP_OTHER | ( | op | ) |
Definition at line 1985 of file sc_fxval.h.
| #define DEFN_ASN_OP_T | ( | tp | ) |
Definition at line 1972 of file sc_fxval.h.
| #define DEFN_ASN_OP_T | ( | op, | |
| fnc, | |||
| tp | |||
| ) |
Definition at line 1972 of file sc_fxval.h.
| #define DEFN_ASN_OP_T | ( | tp | ) |
Definition at line 1972 of file sc_fxval.h.
| #define DEFN_ASN_OP_T | ( | op, | |
| tp | |||
| ) |
Definition at line 1972 of file sc_fxval.h.
| #define DEFN_BIN_FNC | ( | fnc | ) |
Definition at line 1813 of file sc_fxval.h.
| #define DEFN_BIN_FNC | ( | fnc, | |
| op | |||
| ) |
Definition at line 1813 of file sc_fxval.h.
| #define DEFN_BIN_FNC_OTHER | ( | fnc | ) |
Definition at line 1802 of file sc_fxval.h.
| #define DEFN_BIN_FNC_OTHER | ( | fnc, | |
| op | |||
| ) |
Definition at line 1802 of file sc_fxval.h.
| #define DEFN_BIN_FNC_T | ( | fnc, | |
| tp | |||
| ) |
Definition at line 1780 of file sc_fxval.h.
| #define DEFN_BIN_FNC_T | ( | fnc, | |
| op, | |||
| tp | |||
| ) |
Definition at line 1780 of file sc_fxval.h.
| #define DEFN_BIN_OP | ( | op, | |
| fnc | |||
| ) |
Definition at line 1706 of file sc_fxval.h.
| #define DEFN_BIN_OP | ( | op, | |
| dummy | |||
| ) |
Definition at line 1706 of file sc_fxval.h.
| #define DEFN_BIN_OP_OTHER | ( | op, | |
| fnc | |||
| ) |
Definition at line 1695 of file sc_fxval.h.
| #define DEFN_BIN_OP_OTHER | ( | op | ) |
Definition at line 1695 of file sc_fxval.h.
| #define DEFN_BIN_OP_T | ( | op, | |
| fnc, | |||
| tp | |||
| ) |
Definition at line 1675 of file sc_fxval.h.
| #define DEFN_BIN_OP_T | ( | op, | |
| tp | |||
| ) |
Definition at line 1675 of file sc_fxval.h.
| #define DEFN_CTOR_T | ( | tp, | |
| arg | |||
| ) |
Definition at line 1575 of file sc_fxval.h.
| #define DEFN_CTOR_T | ( | tp, | |
| arg | |||
| ) |
Definition at line 1575 of file sc_fxval.h.
| #define DEFN_CTOR_T_A | ( | tp | ) | DEFN_CTOR_T(tp,a) |
Definition at line 1587 of file sc_fxval.h.
| #define DEFN_CTOR_T_A | ( | tp | ) | DEFN_CTOR_T(tp,static_cast<double>( a )) |
Definition at line 1587 of file sc_fxval.h.
| #define DEFN_CTOR_T_B | ( | tp | ) | DEFN_CTOR_T(tp,a.to_double()) |
Definition at line 1588 of file sc_fxval.h.
| #define DEFN_CTOR_T_B | ( | tp | ) | DEFN_CTOR_T(tp,from_string( a )) |
Definition at line 1588 of file sc_fxval.h.
| #define DEFN_CTOR_T_C | ( | tp | ) | DEFN_CTOR_T(tp,a.value()) |
Definition at line 1589 of file sc_fxval.h.
| #define DEFN_CTOR_T_C | ( | tp | ) | DEFN_CTOR_T(tp,a.to_double()) |
Definition at line 1589 of file sc_fxval.h.
| #define DEFN_REL_OP | ( | op, | |
| ret | |||
| ) |
Definition at line 1895 of file sc_fxval.h.
| #define DEFN_REL_OP | ( | op | ) |
Definition at line 1895 of file sc_fxval.h.
| #define DEFN_REL_OP_OTHER | ( | op, | |
| ret | |||
| ) |
Definition at line 1884 of file sc_fxval.h.
| #define DEFN_REL_OP_OTHER | ( | op | ) |
Definition at line 1884 of file sc_fxval.h.
| #define DEFN_REL_OP_T | ( | op, | |
| ret, | |||
| tp | |||
| ) |
Definition at line 1864 of file sc_fxval.h.
| #define DEFN_REL_OP_T | ( | op, | |
| tp | |||
| ) |
Definition at line 1864 of file sc_fxval.h.
| #define SCFX_EXPLICIT_ explicit |
Definition at line 69 of file sc_fxval.h.
| #define SCFX_EXPLICIT_OTHER_ explicit |
Definition at line 74 of file sc_fxval.h.