gem5 v24.0.0.0
|
#include <scfx_ieee.hh>
Public Member Functions | |
scfx_ieee_double () | |
scfx_ieee_double (double) | |
scfx_ieee_double (const scfx_ieee_double &) | |
scfx_ieee_double & | operator= (double) |
scfx_ieee_double & | operator= (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) |
Private Attributes | |
ieee_double | m_id |
Definition at line 115 of file scfx_ieee.hh.
|
inline |
Definition at line 156 of file scfx_ieee.hh.
References sc_dt::ieee_double::d, and m_id.
|
inline |
Definition at line 161 of file scfx_ieee.hh.
References sc_dt::ieee_double::d, and m_id.
|
inline |
Definition at line 166 of file scfx_ieee.hh.
|
inline |
Definition at line 204 of file scfx_ieee.hh.
References m_id, sc_dt::ieee_double::s, and sc_dt::SCFX_IEEE_DOUBLE_BIAS.
Referenced by is_inf(), is_nan(), is_normal(), is_subnormal(), is_zero(), sc_dt::print_other(), set_inf(), and set_nan().
|
inline |
Definition at line 210 of file scfx_ieee.hh.
References a, m_id, sc_dt::ieee_double::s, sc_dt::SCFX_IEEE_DOUBLE_BIAS, sc_dt::SCFX_IEEE_DOUBLE_E_SIZE, and SCFX_MASK_.
|
inlinestatic |
Definition at line 360 of file scfx_ieee.hh.
Referenced by sc_dt::sc_fxval_fast::from_string().
|
inline |
Definition at line 262 of file scfx_ieee.hh.
References exponent(), mantissa0(), mantissa1(), and sc_dt::SCFX_IEEE_DOUBLE_E_MAX.
|
inline |
Definition at line 269 of file scfx_ieee.hh.
References exponent(), mantissa0(), mantissa1(), and sc_dt::SCFX_IEEE_DOUBLE_E_MAX.
|
inline |
Definition at line 255 of file scfx_ieee.hh.
References exponent(), sc_dt::SCFX_IEEE_DOUBLE_E_MAX, and sc_dt::SCFX_IEEE_DOUBLE_E_MIN.
|
inline |
Definition at line 248 of file scfx_ieee.hh.
References exponent(), mantissa0(), mantissa1(), and sc_dt::SCFX_IEEE_DOUBLE_E_MIN.
|
inline |
Definition at line 241 of file scfx_ieee.hh.
References exponent(), mantissa0(), mantissa1(), and sc_dt::SCFX_IEEE_DOUBLE_E_MIN.
|
inline |
Definition at line 324 of file scfx_ieee.hh.
References LSB_STATEMENT, mantissa0(), and mantissa1().
|
inline |
Definition at line 217 of file scfx_ieee.hh.
References m_id, and sc_dt::ieee_double::s.
Referenced by is_inf(), is_nan(), is_subnormal(), is_zero(), lsb(), msb(), set_inf(), and set_nan().
|
inline |
Definition at line 223 of file scfx_ieee.hh.
References a, m_id, sc_dt::ieee_double::s, sc_dt::SCFX_IEEE_DOUBLE_M0_SIZE, and SCFX_MASK_.
|
inline |
Definition at line 229 of file scfx_ieee.hh.
References m_id, and sc_dt::ieee_double::s.
Referenced by is_inf(), is_nan(), is_subnormal(), is_zero(), lsb(), msb(), set_inf(), and set_nan().
|
inline |
Definition at line 235 of file scfx_ieee.hh.
References a, m_id, and sc_dt::ieee_double::s.
|
inline |
Definition at line 294 of file scfx_ieee.hh.
References mantissa0(), mantissa1(), and MSB_STATEMENT.
|
inlinestatic |
Definition at line 352 of file scfx_ieee.hh.
Referenced by sc_dt::sc_fxval_fast::from_string().
|
inline |
Definition at line 192 of file scfx_ieee.hh.
References m_id, and sc_dt::ieee_double::s.
Referenced by sc_dt::print_other().
|
inline |
Definition at line 198 of file scfx_ieee.hh.
References a, m_id, sc_dt::ieee_double::s, and SCFX_MASK_.
|
inline |
Definition at line 186 of file scfx_ieee.hh.
|
inline |
Definition at line 180 of file scfx_ieee.hh.
References a, sc_dt::ieee_double::d, and m_id.
|
inline |
Definition at line 173 of file scfx_ieee.hh.
References sc_dt::ieee_double::d, and m_id.
|
inline |
Definition at line 276 of file scfx_ieee.hh.
References exponent(), mantissa0(), mantissa1(), and sc_dt::SCFX_IEEE_DOUBLE_E_MAX.
|
inline |
Definition at line 284 of file scfx_ieee.hh.
References exponent(), mantissa0(), mantissa1(), and sc_dt::SCFX_IEEE_DOUBLE_E_MAX.
|
private |
Definition at line 117 of file scfx_ieee.hh.
Referenced by exponent(), exponent(), mantissa0(), mantissa0(), mantissa1(), mantissa1(), negative(), negative(), operator=(), operator=(), scfx_ieee_double(), and scfx_ieee_double().