SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_dt::scfx_mant Class Reference

Mantissa class. More...

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

Public Member Functions

 scfx_mant (std::size_t)
 
 scfx_mant (const scfx_mant &)
 
scfx_mantoperator= (const scfx_mant &)
 
 ~scfx_mant ()
 
void clear ()
 
void resize_to (int, int=0)
 
int size () const
 
word operator[] (int) const
 
wordoperator[] (int)
 
half_word half_at (int) const
 
half_wordhalf_at (int)
 
half_wordhalf_addr (int=0) const
 

Detailed Description

Mantissa class.

Definition at line 78 of file scfx_mant.h.

Constructor & Destructor Documentation

◆ scfx_mant() [1/2]

sc_dt::scfx_mant::scfx_mant ( std::size_t  size_)
inlineexplicit

Definition at line 175 of file scfx_mant.h.

◆ scfx_mant() [2/2]

sc_dt::scfx_mant::scfx_mant ( const scfx_mant rhs)
inline

Definition at line 182 of file scfx_mant.h.

◆ ~scfx_mant()

sc_dt::scfx_mant::~scfx_mant ( )
inline

Definition at line 213 of file scfx_mant.h.

Member Function Documentation

◆ clear()

void sc_dt::scfx_mant::clear ( )
inline

Definition at line 223 of file scfx_mant.h.

◆ half_addr()

half_word * sc_dt::scfx_mant::half_addr ( int  i = 0) const
inline

Definition at line 331 of file scfx_mant.h.

◆ half_at() [1/2]

half_word sc_dt::scfx_mant::half_at ( int  i) const
inline

Definition at line 305 of file scfx_mant.h.

◆ half_at() [2/2]

half_word & sc_dt::scfx_mant::half_at ( int  i)
inline

Definition at line 318 of file scfx_mant.h.

◆ operator=()

scfx_mant & sc_dt::scfx_mant::operator= ( const scfx_mant rhs)
inline

Definition at line 194 of file scfx_mant.h.

◆ operator[]() [1/2]

word sc_dt::scfx_mant::operator[] ( int  i) const
inline

Definition at line 152 of file scfx_mant.h.

◆ operator[]() [2/2]

word & sc_dt::scfx_mant::operator[] ( int  i)
inline

Definition at line 164 of file scfx_mant.h.

◆ resize_to()

void sc_dt::scfx_mant::resize_to ( int  size,
int  restore = 0 
)
inline

Definition at line 233 of file scfx_mant.h.

◆ size()

int sc_dt::scfx_mant::size ( ) const
inline

Definition at line 122 of file scfx_mant.h.


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