sc_dt::sc_fxval_fast Class Reference

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

Collaboration diagram for sc_dt::sc_fxval_fast:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 sc_fxval_fast (sc_fxval_fast_observer *=0)
 sc_fxval_fast (int, sc_fxval_fast_observer *=0)
 sc_fxval_fast (unsigned int, sc_fxval_fast_observer *=0)
 sc_fxval_fast (long, sc_fxval_fast_observer *=0)
 sc_fxval_fast (unsigned long, sc_fxval_fast_observer *=0)
 sc_fxval_fast (double, sc_fxval_fast_observer *=0)
 sc_fxval_fast (const char *, sc_fxval_fast_observer *=0)
 sc_fxval_fast (const sc_fxval &, sc_fxval_fast_observer *=0)
 sc_fxval_fast (const sc_fxval_fast &, sc_fxval_fast_observer *=0)
 sc_fxval_fast (const sc_fxnum &, sc_fxval_fast_observer *=0)
 sc_fxval_fast (const sc_fxnum_fast &, sc_fxval_fast_observer *=0)
 sc_fxval_fast (int64, sc_fxval_fast_observer *=0)
 sc_fxval_fast (uint64, sc_fxval_fast_observer *=0)
 sc_fxval_fast (const sc_int_base &, sc_fxval_fast_observer *=0)
 sc_fxval_fast (const sc_uint_base &, sc_fxval_fast_observer *=0)
 sc_fxval_fast (const sc_signed &, sc_fxval_fast_observer *=0)
 sc_fxval_fast (const sc_unsigned &, sc_fxval_fast_observer *=0)
 ~sc_fxval_fast ()
double get_val () const
void set_val (double)
const sc_fxval_fast operator- () const
const sc_fxval_fastoperator+ () 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_fxval_fast &
const sc_fxval_fast operator++ (int)
const sc_fxval_fast operator-- (int)
sc_fxval_fastoperator++ ()
sc_fxval_fastoperator-- ()
 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_baseint

Protected Member Functions

sc_fxval_fast_observerobserver () const
sc_fxval_fast_observerlock_observer () const
void unlock_observer (sc_fxval_fast_observer *) const

Static Protected Member Functions

static double from_string (const char *)

Friends

class sc_fxnum_fast
void neg (sc_fxval_fast &, const sc_fxval_fast &)
const sc_fxval_fast operator/ (const sc_fxval_fast &, const sc_fxval_fast &)
const sc_fxval_fast operator>> (const sc_fxval_fast &, int)
void lshift (sc_fxval_fast &, const sc_fxval_fast &, int)
void rshift (sc_fxval_fast &, const sc_fxval_fast &, int)


Detailed Description

Definition at line 431 of file sc_fxval.h.


Constructor & Destructor Documentation

sc_dt::sc_fxval_fast::sc_fxval_fast ( sc_fxval_fast_observer = 0  )  [explicit]

sc_dt::sc_fxval_fast::sc_fxval_fast ( int  ,
sc_fxval_fast_observer = 0 
)

sc_dt::sc_fxval_fast::sc_fxval_fast ( unsigned  int,
sc_fxval_fast_observer = 0 
)

sc_dt::sc_fxval_fast::sc_fxval_fast ( long  ,
sc_fxval_fast_observer = 0 
)

sc_dt::sc_fxval_fast::sc_fxval_fast ( unsigned  long,
sc_fxval_fast_observer = 0 
)

sc_dt::sc_fxval_fast::sc_fxval_fast ( double  ,
sc_fxval_fast_observer = 0 
)

sc_dt::sc_fxval_fast::sc_fxval_fast ( const char *  ,
sc_fxval_fast_observer = 0 
)

sc_dt::sc_fxval_fast::sc_fxval_fast ( const sc_fxval ,
sc_fxval_fast_observer = 0 
)

sc_dt::sc_fxval_fast::sc_fxval_fast ( const sc_fxval_fast a,
sc_fxval_fast_observer observer_ = 0 
) [inline]

Definition at line 1559 of file sc_fxval.h.

sc_dt::sc_fxval_fast::sc_fxval_fast ( const sc_fxnum a,
sc_fxval_fast_observer observer_ = 0 
) [inline]

Definition at line 4939 of file sc_fxnum.h.

sc_dt::sc_fxval_fast::sc_fxval_fast ( const sc_fxnum_fast a,
sc_fxval_fast_observer observer_ = 0 
) [inline]

Definition at line 4950 of file sc_fxnum.h.

sc_dt::sc_fxval_fast::sc_fxval_fast ( int64  ,
sc_fxval_fast_observer = 0 
) [explicit]

sc_dt::sc_fxval_fast::sc_fxval_fast ( uint64  ,
sc_fxval_fast_observer = 0 
) [explicit]

sc_dt::sc_fxval_fast::sc_fxval_fast ( const sc_int_base ,
sc_fxval_fast_observer = 0 
) [explicit]

sc_dt::sc_fxval_fast::sc_fxval_fast ( const sc_uint_base ,
sc_fxval_fast_observer = 0 
) [explicit]

sc_dt::sc_fxval_fast::sc_fxval_fast ( const sc_signed ,
sc_fxval_fast_observer = 0 
) [explicit]

sc_dt::sc_fxval_fast::sc_fxval_fast ( const sc_unsigned ,
sc_fxval_fast_observer = 0 
) [explicit]

sc_dt::sc_fxval_fast::~sc_fxval_fast (  )  [inline]

Definition at line 1611 of file sc_fxval.h.


Member Function Documentation

sc_fxval_fast_observer* sc_dt::sc_fxval_fast::observer (  )  const [protected]

double sc_dt::sc_fxval_fast::get_val (  )  const [inline]

Definition at line 1620 of file sc_fxval.h.

void sc_dt::sc_fxval_fast::set_val ( double  val_  )  [inline]

Definition at line 1629 of file sc_fxval.h.

const sc_fxval_fast sc_dt::sc_fxval_fast::operator- (  )  const [inline]

Definition at line 1640 of file sc_fxval.h.

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

Definition at line 1648 of file sc_fxval.h.

sc_dt::sc_fxval_fast::DECL_BIN_OP_T ( ,
int64   
)

uint64 sc_dt::sc_fxval_fast::DECL_BIN_OP_T ( ,
const sc_int_base  
)

uint64 const sc_uint_base& sc_dt::sc_fxval_fast::DECL_BIN_OP_T ( ,
const sc_signed  
) const

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

Definition at line 2041 of file sc_fxval.h.

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

Definition at line 2053 of file sc_fxval.h.

sc_fxval_fast & sc_dt::sc_fxval_fast::operator++ (  )  [inline]

Definition at line 2065 of file sc_fxval.h.

sc_fxval_fast & sc_dt::sc_fxval_fast::operator-- (  )  [inline]

Definition at line 2075 of file sc_fxval.h.

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

Definition at line 2087 of file sc_fxval.h.

short sc_dt::sc_fxval_fast::to_short (  )  const [inline]

Definition at line 2098 of file sc_fxval.h.

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

Definition at line 2106 of file sc_fxval.h.

int sc_dt::sc_fxval_fast::to_int (  )  const [inline]

Definition at line 2122 of file sc_fxval.h.

unsigned int sc_dt::sc_fxval_fast::to_uint (  )  const [inline]

Definition at line 2130 of file sc_fxval.h.

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

Definition at line 2146 of file sc_fxval.h.

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

Definition at line 2154 of file sc_fxval.h.

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

Definition at line 2114 of file sc_fxval.h.

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

Definition at line 2138 of file sc_fxval.h.

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

Definition at line 2162 of file sc_fxval.h.

double sc_dt::sc_fxval_fast::to_double (  )  const [inline]

Definition at line 2170 of file sc_fxval.h.

const std::string sc_dt::sc_fxval_fast::to_string (  )  const

Definition at line 507 of file sc_fxval.cpp.

const std::string sc_dt::sc_fxval_fast::to_string ( sc_numrep  numrep  )  const

Definition at line 513 of file sc_fxval.cpp.

const std::string sc_dt::sc_fxval_fast::to_string ( sc_numrep  numrep,
bool  w_prefix 
) const

Definition at line 519 of file sc_fxval.cpp.

const std::string sc_dt::sc_fxval_fast::to_string ( sc_fmt  fmt  )  const

Definition at line 526 of file sc_fxval.cpp.

const std::string sc_dt::sc_fxval_fast::to_string ( sc_numrep  numrep,
sc_fmt  fmt 
) const

Definition at line 532 of file sc_fxval.cpp.

const std::string sc_dt::sc_fxval_fast::to_string ( sc_numrep  numrep,
bool  w_prefix,
sc_fmt  fmt 
) const

Definition at line 538 of file sc_fxval.cpp.

const std::string sc_dt::sc_fxval_fast::to_dec (  )  const

Definition at line 546 of file sc_fxval.cpp.

const std::string sc_dt::sc_fxval_fast::to_bin (  )  const

Definition at line 552 of file sc_fxval.cpp.

const std::string sc_dt::sc_fxval_fast::to_oct (  )  const

Definition at line 558 of file sc_fxval.cpp.

const std::string sc_dt::sc_fxval_fast::to_hex (  )  const

Definition at line 564 of file sc_fxval.cpp.

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

Definition at line 2181 of file sc_fxval.h.

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

Definition at line 2190 of file sc_fxval.h.

bool sc_dt::sc_fxval_fast::is_nan (  )  const [inline]

Definition at line 2199 of file sc_fxval.h.

bool sc_dt::sc_fxval_fast::is_inf (  )  const [inline]

Definition at line 2208 of file sc_fxval.h.

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

Definition at line 2217 of file sc_fxval.h.

bool sc_dt::sc_fxval_fast::rounding_flag (  )  const [inline]

Definition at line 2227 of file sc_fxval.h.

void sc_dt::sc_fxval_fast::print ( ::std::ostream &  os = ::std::cout  )  const

Definition at line 573 of file sc_fxval.cpp.

void sc_dt::sc_fxval_fast::scan ( ::std::istream &  is = ::std::cin  ) 

Definition at line 579 of file sc_fxval.cpp.

void sc_dt::sc_fxval_fast::dump ( ::std::ostream &  os = ::std::cout  )  const

Definition at line 587 of file sc_fxval.cpp.

bool sc_dt::sc_fxval_fast::get_bit ( int  i  )  const

Definition at line 605 of file sc_fxval.cpp.

sc_fxval_fast_observer * sc_dt::sc_fxval_fast::lock_observer (  )  const [protected]

Definition at line 646 of file sc_fxval.cpp.

void sc_dt::sc_fxval_fast::unlock_observer ( sc_fxval_fast_observer observer_  )  const [protected]

Definition at line 655 of file sc_fxval.cpp.

double sc_dt::sc_fxval_fast::from_string ( const char *  s  )  [static, protected]

Definition at line 669 of file sc_fxval.cpp.


Friends And Related Function Documentation

friend class sc_fxnum_fast [friend]

Definition at line 434 of file sc_fxval.h.

void neg ( sc_fxval_fast c,
const sc_fxval_fast a 
) [friend]

Definition at line 1659 of file sc_fxval.h.

const sc_fxval_fast operator/ ( const sc_fxval_fast a,
const sc_fxval_fast b 
) [friend]

Definition at line 1724 of file sc_fxval.h.

const sc_fxval_fast operator>> ( const sc_fxval_fast a,
int  b 
) [friend]

Definition at line 1763 of file sc_fxval.h.

void lshift ( sc_fxval_fast c,
const sc_fxval_fast a,
int  b 
) [friend]

Definition at line 1836 of file sc_fxval.h.

void rshift ( sc_fxval_fast c,
const sc_fxval_fast a,
int  b 
) [friend]

Definition at line 1845 of file sc_fxval.h.


Member Data Documentation

Definition at line 552 of file sc_fxval.h.


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

Generated on Wed Jan 21 15:32:19 2009 for SystemC by  doxygen 1.5.5