gem5  v20.1.0.0
Namespaces | Macros | Functions
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

 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 652 of file sc_fxval.cc.


Generated on Wed Sep 30 2020 14:02:19 for gem5 by doxygen 1.8.17