/home66/gary/public_html/cloudy/c08_branch/source/cpu.cpp File Reference

#include "cddefines.h"
#include "path.h"
#include "trace.h"

Include dependency graph for cpu.cpp:

Go to the source code of this file.

Functions

FILE * open_data (const char *fname, const char *mode, access_scheme scheme)
void set_NaN (sys_float &x)
void set_NaN (sys_float x[], long n)
void set_NaN (double &x)
void set_NaN (double x[], long n)
bool MyIsnan (sys_float &x)
bool MyIsnan (double &x)


Detailed Description

implement hardware dependent definitions

Definition in file cpu.cpp.


Function Documentation

bool MyIsnan ( double &  x  ) 

detect quiet and signaling NaNs in double precision FP

Definition at line 637 of file cpu.cpp.

References t_cpu::big_endian(), cpu, and t_cpu::little_endian().

Here is the call graph for this function:

bool MyIsnan ( sys_float x  ) 

detect quiet and signaling NaNs in single precision FP

Definition at line 622 of file cpu.cpp.

Referenced by ParseCrashDo().

FILE* open_data ( const char *  fname,
const char *  mode,
access_scheme  scheme 
)

Definition at line 438 of file cpu.cpp.

References AS_DATA_LOCAL, AS_DATA_LOCAL_TRY, AS_DATA_ONLY, AS_DATA_ONLY_TRY, AS_DATA_OPTIONAL, AS_LOCAL_DATA, AS_LOCAL_DATA_TRY, AS_LOCAL_ONLY, AS_LOCAL_ONLY_TRY, cdEXIT, t_cpu::chSearchPath, cpu, DEBUG_ENTRY, ioQQQ, lgAbort, t_trace::lgTrace, t_cpu::nFileDone, t_cpu::printDataPath(), TotalInsanity(), and trace.

Referenced by atmdat_Chianti_readin(), atmdat_lamda_readin(), Badnell_rec_init(), cdGetLineList(), ContBandsCreate(), FeIIBandsCreate(), FillGFF(), GetStandardHeLines(), H2_CollidRateRead(), H2_He_coll_init(), H2_Read_hminus_distribution(), H2_ReadDissprob(), H2_ReadEnergies(), H2_ReadTransprob(), HeCollidSetup(), HelikeTransProbSetup(), HyperfineCreate(), t_yield::init_yield(), InitGrid(), iso_recomb_setup(), lgCompileAtmosphere(), lgCompileAtmosphereCoStar(), lgFileReadable(), lgValidAsciiFile(), lgValidBinFile(), mie_read_mix(), mie_read_opc(), mie_read_rfi(), mie_read_szd(), mie_write_opc(), Nemala_Start(), ParseInit(), ParseOptimize(), ParsePunch(), ParseState(), pnegopc(), ptrcer(), RauchInitializeSub(), rd_continue(), read_continuum_mesh(), read_hm05(), ReadAugerData(), ReadTable(), StarburstInitialize(), state_get_put(), t_ADfA::t_ADfA(), t_fe2ovr_la::t_fe2ovr_la(), and wr_continue().

Here is the call graph for this function:

void set_NaN ( double  x[],
long  n 
)

Definition at line 594 of file cpu.cpp.

References cpu, and t_cpu::Double_SNaN_Value.

void set_NaN ( double &  x  ) 

Definition at line 577 of file cpu.cpp.

void set_NaN ( sys_float  x[],
long  n 
)

Definition at line 559 of file cpu.cpp.

void set_NaN ( sys_float x  ) 

define routines for setting single and double precision signaling NaN The bit pattern for an SNaN is implementation defined, but this should work on most modern CPU's. The system definition is preferred, so in C++ this should be replaced by numeric_limits<TYPE>::signaling_NaN()

Definition at line 551 of file cpu.cpp.

Referenced by ConvInitSolution(), Fe7Lev8(), Fe_10_11_13_cs(), invalidate_array(), MyMalloc(), and ParseCrashDo().


Generated on Mon Feb 16 12:05:19 2009 for cloudy by  doxygen 1.4.7