10 #define ThePEG_Debug_H 73 if ( level ==
noDebug )
return false;
74 if ( level ==
full )
return true;
75 return ( item < 0 || std::size_t(item) >= debugItems.size() )?
false:
static void unmaskFpuUnderflow()
Switch on signalling underflow FPU exceptions.
The Debug class defines a number of debug levels and a static public member giving the current debug ...
static void maskFpuOverflow()
Switch off signalling overflow FPU exceptions.
static void maskFpuUnderflow()
Switch off signalling underflow FPU exceptions.
static void maskFpuErrors()
Switch off signalling all FPU exceptions.
static void unmaskFpuInvalid()
Switch on signalling invalid operation FPU exceptions.
static bool isset
If true, the debug level has been set from the outside from the calling program.
static bool debugItem(int item)
Check if a given item should be debugged.
static void setDebug(int ilev)
Set the debug level.
static void unmaskFpuDivZero()
Switch on signalling division by zero FPU exceptions.
This is the main namespace within which all identifiers in ThePEG are declared.
static void unmaskFpuDenorm()
Switch on signalling denormalized argument FPU exceptions.
static void debugItem(int item, bool on)
Switch on or off a given debug item.
static void unmaskFpuErrors()
Switch on signalling all FPU exceptions.
Levels
The different debug levels.
static void maskFpuDivZero()
Switch off signalling division by zero FPU exceptions.
static int level
The current level.
Highest possible debug level.
static void maskFpuDenorm()
Switch off signalling denormalized argument FPU exceptions.
static void unmaskFpuOverflow()
Switch on signalling overflow FPU exceptions.
static std::vector< bool > debugItems
A vector of switches indicating whether a given debug item is switched on or not. ...
static void maskFpuInvalid()
Switch off signalling invalid operation FPU exceptions.