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

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

Public Member Functions

 scfx_ieee_float ()
 
 scfx_ieee_float (float)
 
 scfx_ieee_float (const scfx_ieee_float &)
 
scfx_ieee_floatoperator= (float)
 
scfx_ieee_floatoperator= (const scfx_ieee_float &)
 
 operator float () const
 
unsigned int negative () const
 
void negative (unsigned int)
 
int exponent () const
 
void exponent (int)
 
unsigned int mantissa () const
 
void mantissa (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 ()
 

Detailed Description

Definition at line 458 of file scfx_ieee.h.

Constructor & Destructor Documentation

sc_dt::scfx_ieee_float::scfx_ieee_float ( )
inline

Definition at line 496 of file scfx_ieee.h.

sc_dt::scfx_ieee_float::scfx_ieee_float ( float  f)
inline

Definition at line 502 of file scfx_ieee.h.

sc_dt::scfx_ieee_float::scfx_ieee_float ( const scfx_ieee_float a)
inline

Definition at line 508 of file scfx_ieee.h.

Member Function Documentation

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

Definition at line 554 of file scfx_ieee.h.

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

Definition at line 561 of file scfx_ieee.h.

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

Definition at line 606 of file scfx_ieee.h.

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

Definition at line 613 of file scfx_ieee.h.

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

Definition at line 598 of file scfx_ieee.h.

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

Definition at line 591 of file scfx_ieee.h.

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

Definition at line 584 of file scfx_ieee.h.

unsigned int sc_dt::scfx_ieee_float::mantissa ( ) const
inline

Definition at line 569 of file scfx_ieee.h.

void sc_dt::scfx_ieee_float::mantissa ( unsigned int  a)
inline

Definition at line 576 of file scfx_ieee.h.

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

Definition at line 540 of file scfx_ieee.h.

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

Definition at line 547 of file scfx_ieee.h.

sc_dt::scfx_ieee_float::operator float ( ) const
inline

Definition at line 532 of file scfx_ieee.h.

scfx_ieee_float & sc_dt::scfx_ieee_float::operator= ( float  f)
inline

Definition at line 516 of file scfx_ieee.h.

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

Definition at line 524 of file scfx_ieee.h.

void sc_dt::scfx_ieee_float::set_inf ( )
inline

Definition at line 621 of file scfx_ieee.h.

void sc_dt::scfx_ieee_float::set_nan ( )
inline

Definition at line 629 of file scfx_ieee.h.


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