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)
SCFX_EXPLICIT_ sc_fxval_fast (int, sc_fxval_fast_observer *=0)
SCFX_EXPLICIT_ sc_fxval_fast (unsigned int, sc_fxval_fast_observer *=0)
SCFX_EXPLICIT_ sc_fxval_fast (long, sc_fxval_fast_observer *=0)
SCFX_EXPLICIT_ sc_fxval_fast (unsigned long, sc_fxval_fast_observer *=0)
SCFX_EXPLICIT_ sc_fxval_fast (float, sc_fxval_fast_observer *=0)
SCFX_EXPLICIT_ sc_fxval_fast (double, sc_fxval_fast_observer *=0)
SCFX_EXPLICIT_ 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)
SCFX_EXPLICIT_OTHER_ sc_fxval_fast (int64, sc_fxval_fast_observer *=0)
SCFX_EXPLICIT_OTHER_ sc_fxval_fast (uint64, sc_fxval_fast_observer *=0)
SCFX_EXPLICIT_OTHER_ sc_fxval_fast (const sc_int_base &, sc_fxval_fast_observer *=0)
SCFX_EXPLICIT_OTHER_ sc_fxval_fast (const sc_uint_base &, sc_fxval_fast_observer *=0)
SCFX_EXPLICIT_OTHER_ sc_fxval_fast (const sc_signed &, sc_fxval_fast_observer *=0)
SCFX_EXPLICIT_OTHER_ 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 437 of file sc_fxval.h.


Constructor & Destructor Documentation

sc_dt::sc_fxval_fast::sc_fxval_fast ( sc_fxval_fast_observer = 0  )  [explicit]
SCFX_EXPLICIT_ sc_dt::sc_fxval_fast::sc_fxval_fast ( int  ,
sc_fxval_fast_observer = 0 
)
SCFX_EXPLICIT_ sc_dt::sc_fxval_fast::sc_fxval_fast ( unsigned  int,
sc_fxval_fast_observer = 0 
)
SCFX_EXPLICIT_ sc_dt::sc_fxval_fast::sc_fxval_fast ( long  ,
sc_fxval_fast_observer = 0 
)
SCFX_EXPLICIT_ sc_dt::sc_fxval_fast::sc_fxval_fast ( unsigned  long,
sc_fxval_fast_observer = 0 
)
SCFX_EXPLICIT_ sc_dt::sc_fxval_fast::sc_fxval_fast ( float  ,
sc_fxval_fast_observer = 0 
)
SCFX_EXPLICIT_ sc_dt::sc_fxval_fast::sc_fxval_fast ( double  ,
sc_fxval_fast_observer = 0 
)
SCFX_EXPLICIT_ 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 1562 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 4977 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 4988 of file sc_fxnum.h.

SCFX_EXPLICIT_OTHER_ sc_dt::sc_fxval_fast::sc_fxval_fast ( int64  ,
sc_fxval_fast_observer = 0 
)
SCFX_EXPLICIT_OTHER_ sc_dt::sc_fxval_fast::sc_fxval_fast ( uint64  ,
sc_fxval_fast_observer = 0 
)
SCFX_EXPLICIT_OTHER_ sc_dt::sc_fxval_fast::sc_fxval_fast ( const sc_int_base ,
sc_fxval_fast_observer = 0 
)
SCFX_EXPLICIT_OTHER_ sc_dt::sc_fxval_fast::sc_fxval_fast ( const sc_uint_base ,
sc_fxval_fast_observer = 0 
)
SCFX_EXPLICIT_OTHER_ sc_dt::sc_fxval_fast::sc_fxval_fast ( const sc_signed ,
sc_fxval_fast_observer = 0 
)
SCFX_EXPLICIT_OTHER_ sc_dt::sc_fxval_fast::sc_fxval_fast ( const sc_unsigned ,
sc_fxval_fast_observer = 0 
)
sc_dt::sc_fxval_fast::~sc_fxval_fast (  )  [inline]

Definition at line 1615 of file sc_fxval.h.


Member Function Documentation

uint64 const sc_uint_base& sc_dt::sc_fxval_fast::DECL_BIN_OP_T ( ,
const sc_signed  
) const
uint64 sc_dt::sc_fxval_fast::DECL_BIN_OP_T ( ,
const sc_int_base  
)
sc_dt::sc_fxval_fast::DECL_BIN_OP_T ( ,
int64   
)
void sc_dt::sc_fxval_fast::dump ( ::std::ostream &  = ::std::cout  )  const
static double sc_dt::sc_fxval_fast::from_string ( const char *   )  [static, protected]
bool sc_dt::sc_fxval_fast::get_bit ( int   )  const
double sc_dt::sc_fxval_fast::get_val (  )  const [inline]

Definition at line 1624 of file sc_fxval.h.

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

Definition at line 2218 of file sc_fxval.h.

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

Definition at line 2209 of file sc_fxval.h.

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

Definition at line 2191 of file sc_fxval.h.

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

Definition at line 2227 of file sc_fxval.h.

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

Definition at line 2200 of file sc_fxval.h.

sc_fxval_fast_observer* sc_dt::sc_fxval_fast::lock_observer (  )  const [protected]
sc_fxval_fast_observer* sc_dt::sc_fxval_fast::observer (  )  const [protected]
sc_dt::sc_fxval_fast::operator double (  )  const [inline]

Definition at line 2097 of file sc_fxval.h.

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

Definition at line 1652 of file sc_fxval.h.

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

Definition at line 2075 of file sc_fxval.h.

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

Definition at line 2051 of file sc_fxval.h.

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

Definition at line 1644 of file sc_fxval.h.

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

Definition at line 2085 of file sc_fxval.h.

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

Definition at line 2063 of file sc_fxval.h.

void sc_dt::sc_fxval_fast::print ( ::std::ostream &  = ::std::cout  )  const
bool sc_dt::sc_fxval_fast::rounding_flag (  )  const [inline]

Definition at line 2237 of file sc_fxval.h.

void sc_dt::sc_fxval_fast::scan ( ::std::istream &  = ::std::cin  ) 
void sc_dt::sc_fxval_fast::set_val ( double  val_  )  [inline]

Definition at line 1633 of file sc_fxval.h.

const std::string sc_dt::sc_fxval_fast::to_bin (  )  const
const std::string sc_dt::sc_fxval_fast::to_dec (  )  const
double sc_dt::sc_fxval_fast::to_double (  )  const [inline]

Definition at line 2180 of file sc_fxval.h.

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

Definition at line 2172 of file sc_fxval.h.

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

Definition at line 2132 of file sc_fxval.h.

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

Definition at line 2124 of file sc_fxval.h.

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

Definition at line 2156 of file sc_fxval.h.

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

Definition at line 2108 of file sc_fxval.h.

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

Definition at line 2140 of file sc_fxval.h.

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

Definition at line 2148 of file sc_fxval.h.

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

Definition at line 2164 of file sc_fxval.h.

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

Definition at line 2116 of file sc_fxval.h.

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

Friends And Related Function Documentation

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

Definition at line 440 of file sc_fxval.h.


Member Data Documentation

Definition at line 545 of file sc_fxval.h.


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

Generated on 29 Oct 2015 for SystemC by  doxygen 1.6.1