sc_dt::sc_fxnum_fast Class Reference

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

Inheritance diagram for sc_dt::sc_fxnum_fast:
Inheritance graph
[legend]
Collaboration diagram for sc_dt::sc_fxnum_fast:
Collaboration graph
[legend]

List of all members.

Public Member Functions

const sc_fxval_fast operator- () const
const sc_fxval_fast 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_baseDECL_BIN_OP_T (/, const sc_signed &) friend const sc_fxval_fast operator<< (const sc_fxnum_fast &
const sc_fxval_fast operator++ (int)
const sc_fxval_fast operator-- (int)
sc_fxnum_fastoperator++ ()
sc_fxnum_fastoperator-- ()
const sc_fxnum_fast_bitref operator[] (int) const
sc_fxnum_fast_bitref operator[] (int)
const sc_fxnum_fast_bitref bit (int) const
sc_fxnum_fast_bitref bit (int)
const sc_fxnum_fast_subref operator() (int, int) const
sc_fxnum_fast_subref operator() (int, int)
const sc_fxnum_fast_subref range (int, int) const
sc_fxnum_fast_subref range (int, int)
const sc_fxnum_fast_subref operator() () const
sc_fxnum_fast_subref operator() ()
const sc_fxnum_fast_subref range () const
sc_fxnum_fast_subref range ()
 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_normal () const
bool quantization_flag () const
bool overflow_flag () const
const sc_fxval_fast value () const
int wl () const
int iwl () const
sc_q_mode q_mode () const
sc_o_mode o_mode () const
int n_bits () const
const sc_fxtype_paramstype_params () const
const sc_fxcast_switchcast_switch () const
void print (::std::ostream &=::std::cout) const
void scan (::std::istream &=::std::cin)
void dump (::std::ostream &=::std::cout) const
void observer_read () const
bool get_bit (int) const

Public Attributes

uint64 const sc_uint_baseint

Protected Member Functions

sc_fxnum_fast_observerobserver () const
void cast ()
 sc_fxnum_fast (const sc_fxtype_params &, sc_enc, const sc_fxcast_switch &, sc_fxnum_fast_observer *)
 ~sc_fxnum_fast ()
double get_val () const
bool set_bit (int, bool)
bool get_slice (int, int, sc_bv_base &) const
bool set_slice (int, int, const sc_bv_base &)
sc_fxnum_fast_observerlock_observer () const
void unlock_observer (sc_fxnum_fast_observer *) const

Friends

class sc_fxval_fast
class sc_fxnum_bitref
class sc_fxnum_subref
class sc_fxnum_fast_bitref
class sc_fxnum_fast_subref
class sc_core::vcd_sc_fxnum_fast_trace
class sc_core::wif_sc_fxnum_fast_trace
void neg (sc_fxval_fast &, const sc_fxnum_fast &)
void neg (sc_fxnum_fast &, const sc_fxnum_fast &)
const sc_fxval_fast operator/ (const sc_fxnum_fast &, const sc_fxnum_fast &)
const sc_fxval_fast operator>> (const sc_fxnum_fast &, int)
void lshift (sc_fxval_fast &, const sc_fxnum_fast &, int)
void rshift (sc_fxval_fast &, const sc_fxnum_fast &, int)
void lshift (sc_fxnum_fast &, const sc_fxnum_fast &, int)
void rshift (sc_fxnum_fast &, const sc_fxnum_fast &, int)

Detailed Description

Definition at line 988 of file sc_fxnum.h.


Constructor & Destructor Documentation

sc_dt::sc_fxnum_fast::sc_fxnum_fast ( const sc_fxtype_params type_params_,
sc_enc  enc_,
const sc_fxcast_switch cast_sw,
sc_fxnum_fast_observer observer_ 
) [inline, protected]

Definition at line 3694 of file sc_fxnum.h.

sc_dt::sc_fxnum_fast::~sc_fxnum_fast (  )  [inline, protected]

Definition at line 3778 of file sc_fxnum.h.


Member Function Documentation

sc_fxnum_fast_bitref sc_dt::sc_fxnum_fast::bit ( int  i  )  [inline]

Definition at line 4453 of file sc_fxnum.h.

const sc_fxnum_fast_bitref sc_dt::sc_fxnum_fast::bit ( int  i  )  const [inline]

Definition at line 4444 of file sc_fxnum.h.

void sc_dt::sc_fxnum_fast::cast (  )  [protected]
const sc_fxcast_switch & sc_dt::sc_fxnum_fast::cast_switch (  )  const [inline]

Definition at line 4731 of file sc_fxnum.h.

uint64 const sc_uint_base& sc_dt::sc_fxnum_fast::DECL_BIN_OP_T ( ,
const sc_signed  
) const
uint64 sc_dt::sc_fxnum_fast::DECL_BIN_OP_T ( ,
const sc_int_base  
)
sc_dt::sc_fxnum_fast::DECL_BIN_OP_T ( ,
int64   
)
void sc_dt::sc_fxnum_fast::dump ( ::std::ostream &  = ::std::cout  )  const
bool sc_dt::sc_fxnum_fast::get_bit ( int   )  const
bool sc_dt::sc_fxnum_fast::get_slice ( int  ,
int  ,
sc_bv_base  
) const [protected]
double sc_dt::sc_fxnum_fast::get_val (  )  const [inline, protected]

Definition at line 3787 of file sc_fxnum.h.

bool sc_dt::sc_fxnum_fast::is_neg (  )  const [inline]

Definition at line 4632 of file sc_fxnum.h.

bool sc_dt::sc_fxnum_fast::is_normal (  )  const [inline]

Definition at line 4651 of file sc_fxnum.h.

bool sc_dt::sc_fxnum_fast::is_zero (  )  const [inline]

Definition at line 4641 of file sc_fxnum.h.

int sc_dt::sc_fxnum_fast::iwl (  )  const [inline]

Definition at line 4694 of file sc_fxnum.h.

sc_fxnum_fast_observer* sc_dt::sc_fxnum_fast::lock_observer (  )  const [protected]
int sc_dt::sc_fxnum_fast::n_bits (  )  const [inline]

Definition at line 4715 of file sc_fxnum.h.

sc_o_mode sc_dt::sc_fxnum_fast::o_mode (  )  const [inline]

Definition at line 4708 of file sc_fxnum.h.

sc_fxnum_fast_observer * sc_dt::sc_fxnum_fast::observer (  )  const [inline, protected]

Definition at line 3685 of file sc_fxnum.h.

void sc_dt::sc_fxnum_fast::observer_read (  )  const [inline]

Definition at line 4740 of file sc_fxnum.h.

sc_dt::sc_fxnum_fast::operator double (  )  const [inline]

Definition at line 4538 of file sc_fxnum.h.

sc_fxnum_fast_subref sc_dt::sc_fxnum_fast::operator() (  )  [inline]

Definition at line 4515 of file sc_fxnum.h.

const sc_fxnum_fast_subref sc_dt::sc_fxnum_fast::operator() (  )  const [inline]

Definition at line 4508 of file sc_fxnum.h.

sc_fxnum_fast_subref sc_dt::sc_fxnum_fast::operator() ( int  i,
int  j 
) [inline]

Definition at line 4475 of file sc_fxnum.h.

const sc_fxnum_fast_subref sc_dt::sc_fxnum_fast::operator() ( int  i,
int  j 
) const [inline]

Definition at line 4464 of file sc_fxnum.h.

const sc_fxval_fast sc_dt::sc_fxnum_fast::operator+ (  )  const [inline]

Definition at line 3806 of file sc_fxnum.h.

sc_fxnum_fast & sc_dt::sc_fxnum_fast::operator++ (  )  [inline]
const sc_fxval_fast sc_dt::sc_fxnum_fast::operator++ ( int   )  [inline]
const sc_fxval_fast sc_dt::sc_fxnum_fast::operator- (  )  const [inline]

Definition at line 3798 of file sc_fxnum.h.

sc_fxnum_fast & sc_dt::sc_fxnum_fast::operator-- (  )  [inline]
const sc_fxval_fast sc_dt::sc_fxnum_fast::operator-- ( int   )  [inline]
sc_fxnum_fast_bitref sc_dt::sc_fxnum_fast::operator[] ( int  i  )  [inline]

Definition at line 4436 of file sc_fxnum.h.

const sc_fxnum_fast_bitref sc_dt::sc_fxnum_fast::operator[] ( int  i  )  const [inline]

Definition at line 4427 of file sc_fxnum.h.

bool sc_dt::sc_fxnum_fast::overflow_flag (  )  const [inline]

Definition at line 4668 of file sc_fxnum.h.

void sc_dt::sc_fxnum_fast::print ( ::std::ostream &  = ::std::cout  )  const
sc_q_mode sc_dt::sc_fxnum_fast::q_mode (  )  const [inline]

Definition at line 4701 of file sc_fxnum.h.

bool sc_dt::sc_fxnum_fast::quantization_flag (  )  const [inline]

Definition at line 4661 of file sc_fxnum.h.

sc_fxnum_fast_subref sc_dt::sc_fxnum_fast::range (  )  [inline]

Definition at line 4529 of file sc_fxnum.h.

const sc_fxnum_fast_subref sc_dt::sc_fxnum_fast::range (  )  const [inline]

Definition at line 4522 of file sc_fxnum.h.

sc_fxnum_fast_subref sc_dt::sc_fxnum_fast::range ( int  i,
int  j 
) [inline]

Definition at line 4497 of file sc_fxnum.h.

const sc_fxnum_fast_subref sc_dt::sc_fxnum_fast::range ( int  i,
int  j 
) const [inline]

Definition at line 4486 of file sc_fxnum.h.

void sc_dt::sc_fxnum_fast::scan ( ::std::istream &  = ::std::cin  ) 
bool sc_dt::sc_fxnum_fast::set_bit ( int  ,
bool   
) [protected]
bool sc_dt::sc_fxnum_fast::set_slice ( int  ,
int  ,
const sc_bv_base  
) [protected]
const std::string sc_dt::sc_fxnum_fast::to_bin (  )  const
const std::string sc_dt::sc_fxnum_fast::to_dec (  )  const
double sc_dt::sc_fxnum_fast::to_double (  )  const [inline]

Definition at line 4621 of file sc_fxnum.h.

float sc_dt::sc_fxnum_fast::to_float (  )  const [inline]

Definition at line 4613 of file sc_fxnum.h.

const std::string sc_dt::sc_fxnum_fast::to_hex (  )  const
int sc_dt::sc_fxnum_fast::to_int (  )  const [inline]

Definition at line 4565 of file sc_fxnum.h.

int64 sc_dt::sc_fxnum_fast::to_int64 (  )  const [inline]

Definition at line 4573 of file sc_fxnum.h.

long sc_dt::sc_fxnum_fast::to_long (  )  const [inline]

Definition at line 4597 of file sc_fxnum.h.

const std::string sc_dt::sc_fxnum_fast::to_oct (  )  const
short sc_dt::sc_fxnum_fast::to_short (  )  const [inline]

Definition at line 4549 of file sc_fxnum.h.

const std::string sc_dt::sc_fxnum_fast::to_string ( sc_numrep  ,
bool  ,
sc_fmt   
) const
const std::string sc_dt::sc_fxnum_fast::to_string ( sc_numrep  ,
sc_fmt   
) const
const std::string sc_dt::sc_fxnum_fast::to_string ( sc_fmt   )  const
const std::string sc_dt::sc_fxnum_fast::to_string ( sc_numrep  ,
bool   
) const
const std::string sc_dt::sc_fxnum_fast::to_string ( sc_numrep   )  const
const std::string sc_dt::sc_fxnum_fast::to_string (  )  const
unsigned int sc_dt::sc_fxnum_fast::to_uint (  )  const [inline]

Definition at line 4581 of file sc_fxnum.h.

uint64 sc_dt::sc_fxnum_fast::to_uint64 (  )  const [inline]

Definition at line 4589 of file sc_fxnum.h.

unsigned long sc_dt::sc_fxnum_fast::to_ulong (  )  const [inline]

Definition at line 4605 of file sc_fxnum.h.

unsigned short sc_dt::sc_fxnum_fast::to_ushort (  )  const [inline]

Definition at line 4557 of file sc_fxnum.h.

const sc_fxtype_params & sc_dt::sc_fxnum_fast::type_params (  )  const [inline]

Definition at line 4723 of file sc_fxnum.h.

void sc_dt::sc_fxnum_fast::unlock_observer ( sc_fxnum_fast_observer  )  const [protected]
const sc_fxval_fast sc_dt::sc_fxnum_fast::value (  )  const [inline]

Definition at line 4676 of file sc_fxnum.h.

int sc_dt::sc_fxnum_fast::wl (  )  const [inline]

Definition at line 4687 of file sc_fxnum.h.


Friends And Related Function Documentation

void lshift ( sc_fxnum_fast ,
const sc_fxnum_fast ,
int   
) [friend]
void lshift ( sc_fxval_fast ,
const sc_fxnum_fast ,
int   
) [friend]
void neg ( sc_fxnum_fast ,
const sc_fxnum_fast  
) [friend]
void neg ( sc_fxval_fast ,
const sc_fxnum_fast  
) [friend]
const sc_fxval_fast operator/ ( const sc_fxnum_fast ,
const sc_fxnum_fast  
) [friend]
const sc_fxval_fast operator>> ( const sc_fxnum_fast ,
int   
) [friend]
void rshift ( sc_fxnum_fast ,
const sc_fxnum_fast ,
int   
) [friend]
void rshift ( sc_fxval_fast ,
const sc_fxnum_fast ,
int   
) [friend]
friend class sc_core::vcd_sc_fxnum_fast_trace [friend]

Definition at line 997 of file sc_fxnum.h.

friend class sc_core::wif_sc_fxnum_fast_trace [friend]

Definition at line 998 of file sc_fxnum.h.

friend class sc_fxnum_bitref [friend]

Definition at line 992 of file sc_fxnum.h.

friend class sc_fxnum_fast_bitref [friend]

Definition at line 994 of file sc_fxnum.h.

friend class sc_fxnum_fast_subref [friend]

Definition at line 995 of file sc_fxnum.h.

friend class sc_fxnum_subref [friend]

Definition at line 993 of file sc_fxnum.h.

friend class sc_fxval_fast [friend]

Definition at line 990 of file sc_fxnum.h.


Member Data Documentation

Definition at line 1123 of file sc_fxnum.h.


The documentation for this class was generated from the following file:

Generated on 12 Jun 2018 for SystemC by  doxygen 1.6.1