SystemC  Recoding Infrastructure for SystemC v0.6.2 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
Public Member Functions | Static Public Member Functions | List of all members
sc_dt::scfx_ieee_double Class Reference

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

Public Member Functions

 scfx_ieee_double ()
 
 scfx_ieee_double (double)
 
 scfx_ieee_double (const scfx_ieee_double &)
 
scfx_ieee_doubleoperator= (double)
 
scfx_ieee_doubleoperator= (const scfx_ieee_double &)
 
 operator double () const
 
unsigned int negative () const
 
void negative (unsigned int)
 
int exponent () const
 
void exponent (int)
 
unsigned int mantissa0 () const
 
void mantissa0 (unsigned int)
 
unsigned int mantissa1 () const
 
void mantissa1 (unsigned int)
 
bool is_zero () const
 
bool is_subnormal () const
 
bool is_normal () const
 
bool is_inf () const
 
bool is_nan () const
 
void set_inf ()
 
void set_nan ()
 
int msb () const
 
int lsb () const
 

Static Public Member Functions

static const scfx_ieee_double nan ()
 
static const scfx_ieee_double inf (int)
 

Detailed Description

Definition at line 118 of file scfx_ieee.h.

Constructor & Destructor Documentation

sc_dt::scfx_ieee_double::scfx_ieee_double ( )
inline

Definition at line 164 of file scfx_ieee.h.

sc_dt::scfx_ieee_double::scfx_ieee_double ( double  d)
inline

Definition at line 170 of file scfx_ieee.h.

sc_dt::scfx_ieee_double::scfx_ieee_double ( const scfx_ieee_double a)
inline

Definition at line 176 of file scfx_ieee.h.

Member Function Documentation

int sc_dt::scfx_ieee_double::exponent ( ) const
inline

Definition at line 222 of file scfx_ieee.h.

void sc_dt::scfx_ieee_double::exponent ( int  a)
inline

Definition at line 229 of file scfx_ieee.h.

const scfx_ieee_double sc_dt::scfx_ieee_double::inf ( int  sign)
inlinestatic

Definition at line 408 of file scfx_ieee.h.

bool sc_dt::scfx_ieee_double::is_inf ( ) const
inline

Definition at line 290 of file scfx_ieee.h.

bool sc_dt::scfx_ieee_double::is_nan ( ) const
inline

Definition at line 298 of file scfx_ieee.h.

bool sc_dt::scfx_ieee_double::is_normal ( ) const
inline

Definition at line 282 of file scfx_ieee.h.

bool sc_dt::scfx_ieee_double::is_subnormal ( ) const
inline

Definition at line 274 of file scfx_ieee.h.

bool sc_dt::scfx_ieee_double::is_zero ( ) const
inline

Definition at line 266 of file scfx_ieee.h.

int sc_dt::scfx_ieee_double::lsb ( ) const
inline

Definition at line 364 of file scfx_ieee.h.

unsigned int sc_dt::scfx_ieee_double::mantissa0 ( ) const
inline

Definition at line 237 of file scfx_ieee.h.

void sc_dt::scfx_ieee_double::mantissa0 ( unsigned int  a)
inline

Definition at line 244 of file scfx_ieee.h.

unsigned int sc_dt::scfx_ieee_double::mantissa1 ( ) const
inline

Definition at line 251 of file scfx_ieee.h.

void sc_dt::scfx_ieee_double::mantissa1 ( unsigned int  a)
inline

Definition at line 258 of file scfx_ieee.h.

int sc_dt::scfx_ieee_double::msb ( ) const
inline

Definition at line 328 of file scfx_ieee.h.

const scfx_ieee_double sc_dt::scfx_ieee_double::nan ( )
inlinestatic

Definition at line 399 of file scfx_ieee.h.

unsigned int sc_dt::scfx_ieee_double::negative ( ) const
inline

Definition at line 208 of file scfx_ieee.h.

void sc_dt::scfx_ieee_double::negative ( unsigned int  a)
inline

Definition at line 215 of file scfx_ieee.h.

sc_dt::scfx_ieee_double::operator double ( ) const
inline

Definition at line 200 of file scfx_ieee.h.

scfx_ieee_double & sc_dt::scfx_ieee_double::operator= ( double  d)
inline

Definition at line 184 of file scfx_ieee.h.

scfx_ieee_double & sc_dt::scfx_ieee_double::operator= ( const scfx_ieee_double a)
inline

Definition at line 192 of file scfx_ieee.h.

void sc_dt::scfx_ieee_double::set_inf ( )
inline

Definition at line 307 of file scfx_ieee.h.

void sc_dt::scfx_ieee_double::set_nan ( )
inline

Definition at line 316 of file scfx_ieee.h.


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