gem5 v24.0.0.0
Loading...
Searching...
No Matches
sc_fxval.cc File Reference
#include <cctype>
#include <cfloat>
#include <cmath>
#include <cstdlib>
#include "systemc/ext/dt/fx/sc_fxval.hh"
#include "systemc/ext/utils/messages.hh"

Go to the source code of this file.

Namespaces

namespace  sc_dt
 

Macros

#define SCFX_FAIL_IF_(cnd)
 

Functions

static void sc_dt::print_dec (scfx_string &s, scfx_ieee_double id, int w_prefix, sc_fmt fmt)
 
static void sc_dt::print_other (scfx_string &s, const scfx_ieee_double &id, sc_numrep numrep, int w_prefix, sc_fmt fmt, const scfx_params *params)
 
const char * sc_dt::to_string (const scfx_ieee_double &, sc_numrep, int, sc_fmt, const scfx_params *=0)
 

Macro Definition Documentation

◆ SCFX_FAIL_IF_

#define SCFX_FAIL_IF_ ( cnd)
Value:
{ \
if ((cnd)) \
return static_cast<double>(scfx_ieee_double::nan()); \
}

Definition at line 621 of file sc_fxval.cc.

Referenced by sc_dt::sc_fxval_fast::from_string(), and sc_dt::scfx_rep::from_string().


Generated on Tue Jun 18 2024 16:24:08 for gem5 by doxygen 1.11.0